mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove hack-around for getInterfaceType() on ParamDecl returning InOutType
Most callers did not want the InOutType here, and checked the ParamDecl's flags instead.
This commit is contained in:
@@ -73,7 +73,6 @@ AbstractionPattern TypeConverter::getAbstractionPattern(VarDecl *var) {
|
||||
genericSig = sig->getCanonicalSignature();
|
||||
|
||||
CanType swiftType = var->getInterfaceType()
|
||||
->getInOutObjectType()
|
||||
->getCanonicalType();
|
||||
|
||||
if (auto clangDecl = var->getClangDecl()) {
|
||||
|
||||
Reference in New Issue
Block a user