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
mattneub opened this issue
Jun 28, 2016
· 3 comments
Assignees
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
Neither the return; nor the locally defined class A is illegal. It's the combination of the two that's the problem: defining a class locally, at any depth, after a return seems to elicit the crash.
The text was updated successfully, but these errors were encountered:
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
Xcode Version 8.0 beta (8S128d) and its version of Swift 3
Additional Detail from JIRA
md5: 1a0dc260ae3d2d9a42ce72bd4313424b
Issue Description:
This code crashes the compiler with a segfault:
Neither the
return;
nor the locally definedclass A
is illegal. It's the combination of the two that's the problem: defining a class locally, at any depth, after a return seems to elicit the crash.The text was updated successfully, but these errors were encountered: