[SR-13982] 40037 illegal hardware instruction with protocol associatedtype constraints #56377
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
macOS 10.15.7
Command Line:
Additional Detail from JIRA
md5: 524ca1e66c15cb03bcab273a74cf5dc8
Issue Description:
In some experimentation I happened upon a case that results in a:
The follow code snippet reproduces the issue on the command line version of Swift 5.3.2
There is no stack trace provided in the output, only the 40037 error.
Related
I'm able to also produce a segmentation fault with a slight change:
There is stack trace for the segmentation fault, which might help diagnose one or both issues:
The text was updated successfully, but these errors were encountered: