[SR-2249] Closure type with value type Error parameter crashes the compiler when used as parameter or property type in class bridged to Objective-C #44856
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
PrintAsClang
Area → compiler: The PrintAsClang library
Additional Detail from JIRA
md5: 31a1bc2f69c3d349ed7354683b27a454
relates to:
Issue Description:
The following crashes the latest snapshot release and the Xcode 8 Beta 4 version of the swift compiler:
Putting @nonobjc on the function declaration fixes the issue.
The text was updated successfully, but these errors were encountered: