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
Jan 7, 2016
· 1 comment
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 software
With some experimentation I'm convinced that this is just a bug with emitting a store into the property (which is avoided by delegating to another initializer); it's the same as SR-488.
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 software
Environment
osx 10.11.2 xcode 7.2, swift 2.1.1
Additional Detail from JIRA
md5: 9f212dadba14e8dc456ba64d54a8dee6
duplicates:
relates to:
Issue Description:
Sample code (crashing) :
I tested a lot of cases and after trial and error found workarounds:
if l1 is a let instead of a var, compilation succeeds
if the base constructor is called, compilation succeeds
Best workaround - call base constructor :
Working
Thanks for the good work
The text was updated successfully, but these errors were encountered: