mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SILGen: Emit ObjC thunks for initializers in extensions that fulfill @objc requirements.
Fixes <rdar://problem/17211135>. Swift SVN r19970
This commit is contained in:
@@ -1380,6 +1380,8 @@ public:
|
||||
SGM.emitObjCMethodThunk(method);
|
||||
else if (auto *prop = dyn_cast<VarDecl>(vd))
|
||||
SGM.emitObjCPropertyMethodThunks(prop);
|
||||
else if (auto *ctor = dyn_cast<ConstructorDecl>(vd))
|
||||
SGM.emitObjCConstructorThunk(ctor);
|
||||
else
|
||||
llvm_unreachable("unexpected conformance mapping");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user