[SR-7144] Segmentation fault under swift::ValueDecl::getFormalAccessScope when using a capture list #49692
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
type checker
Area → compiler: Semantic analysis
Attachment: Download
Environment
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 394567996a43633da113fb78ff0dd2df
duplicates:
Issue Description:
Test case
Steps:
Actual:
Segmentation fault: 11
Expected:
Compile succesfully
Workaround:
Move the offending item in the capture list, outside.
The text was updated successfully, but these errors were encountered: