You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
belkadan opened this issue
Jul 24, 2018
· 4 comments
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfIRGenLLVM IR generation
The ObjC runtime function method_getTypeEncoding returns a description of a method's signature, used for dynamic invocation. It looks like we just didn't implement this in the Swift compiler for subscript accessors; see irgen::emitObjCGetterDescriptorParts and irgen::emitObjCSetterDescriptorParts in GenObjC.cpp.
The text was updated successfully, but these errors were encountered:
I feel like it would make more sense to just forward to the implementation for regular functions rather than reimplement the type encoding logic like we do for properties, but I might be missing something. cc @rjmccall
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfIRGenLLVM IR generation
Additional Detail from JIRA
md5: d7f64557ead1bc2225d37ac822b7ec01
Issue Description:
The ObjC runtime function
method_getTypeEncoding
returns a description of a method's signature, used for dynamic invocation. It looks like we just didn't implement this in the Swift compiler for subscript accessors; seeirgen::emitObjCGetterDescriptorParts
andirgen::emitObjCSetterDescriptorParts
in GenObjC.cpp.The text was updated successfully, but these errors were encountered: