[SR-2674] Compiler Bug with Generic Property #45279
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 3.0
Attachment: Download
Environment
OSX X El Capitan v 10.11.6
Xcode v 8.0 (8A218a)
Additional Detail from JIRA
md5: b3936f20a14fd6e3773ba65234acbe43
Issue Description:
The code attached compiles fine with Xcode 7/Swift 2.2 but it breaks the complier in Xcode 8/Swift 3.
To reproduce simply drag the attached file into any project and attempt to compile. I marked the offending line with a comment. If that line is removed, then the code will compile.
Error Message:
Call parameter type does not match function signature!
%39 = bitcast i8* %38 to %swift.opaque*, 224
%swift.type* call void %48(%swift.opaque* noalias nocapture %0, %swift.opaque* %39, %swift.type* %8, i8** noalias nocapture %11, %swift.type* %13, i8** %49), 224
LLVM ERROR: Broken function found, compilation aborted!
The text was updated successfully, but these errors were encountered: