[SR-7663] Compiler crash regression when calling an initialiser in constrained extension #50203
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
regression
swift 4.2
type checker
Area → compiler: Semantic analysis
Environment
Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1)
Target: x86_64-apple-darwin17.5.0
Swift version 4.2-dev (LLVM d9cd6a5c49, Clang ed8876508e, Swift c363dad)
Target: x86_64-apple-darwin17.5.0
Additional Detail from JIRA
md5: 138ffc917af8618ac53f03cac6f54c20
Issue Description:
The following yielded the compiler error "Generic parameter 'T' could not be inferred" in Swift 4.1, however it yields a segmentation fault on master (c363dad):
Here's the stack trace:
and stack dump:
The text was updated successfully, but these errors were encountered: