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
Apr 18, 2018
· 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
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
Swift 4.0, Xcode 9.2
Additional Detail from JIRA
md5: d8fe33131133499279230b868d053712
duplicates:
relates to:
Issue Description:
Swift doesn't allow using instance members as default parameters for methods.
This emits a compiler warning "Cannot use instance member 'humanLifespan' as default parameter":
But if the function is nested in another function, I get a compiler crash instead:
Command failed due to signal: Abort trap: 6
The text was updated successfully, but these errors were encountered: