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 11, 2017
· 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
SR-4387 Compiler Segmentation Fault 11 on wrongly ordered lets
Issue Description:
If I have a property called 'userID' and then in a function within that scope I shadow that property in a guard statement, an internal error will occur. This is reproducible each time in the attached playground, as well as when used in an Xcode project.
The crash no longer occurs if I rename the shadowing 'userID' to 'userID2'.
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
Attachment: Download
Environment
Swift 4
Xcode 9.0 (9A235)
macOS 10.13
Additional Detail from JIRA
md5: f757176903de7c95e5385832c2d98538
duplicates:
let
sIssue Description:
If I have a property called 'userID' and then in a function within that scope I shadow that property in a guard statement, an internal error will occur. This is reproducible each time in the attached playground, as well as when used in an Xcode project.
The crash no longer occurs if I rename the shadowing 'userID' to 'userID2'.
The text was updated successfully, but these errors were encountered: