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
swift-ci opened this issue
Oct 4, 2016
· 3 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of softwareSILGenArea → compiler: The SIL generation stage
If you get rid of the @objc annotation, the compiler gives: error: MyPlayground.playground:8:13: error: cannot use mutating member on immutable value: 'foo' is a 'let' constant.
Assertion failed: (decl->getMaterializeForSetFunc() && "polymorphic storage without materializeForSet"), function getMaterialized, file /Volumes/Data/swift-public/swift/lib/SILGen/SILGenLValue.cpp, line 852.
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of softwareSILGenArea → compiler: The SIL generation stage
Environment
swift 3
Additional Detail from JIRA
md5: 923c53d696c0ec1f6beaa46768de7064
Issue Description:
Compiler crash is triggered by this code: https://gist.github.com/spf2/ed198c4e80a03cefbb23fe936338bf10
If you get rid of the @objc annotation, the compiler gives: error: MyPlayground.playground:8:13: error: cannot use mutating member on immutable value: 'foo' is a 'let' constant.
By the way, compiler also crashes with this code: https://gist.github.com/spf2/df1e381d00527e45df1b9b94325d4530 even though it compiles fine if you remove the @objc annotation.
The text was updated successfully, but these errors were encountered: