[SR-2265] SIL Verification Failed: Source value should be an object value #44872
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
optimized only
Flag: An issue whose reproduction requires optimized compilation
regression
swift 3.0
Environment
Code compiled using the following command-line:
Tests performed on Mac OS X 10.11 running Xcode 8 beta 4 and a debug version of Swift built from github (commit 9ee231e) using "utils/build-script -x".
Closest analogue under Swift 2.3 has no problems (although it's not an apples-to-apples comparison).
Additional Detail from JIRA
md5: 7c4e67728456be6984ac79a43dfd9191
Issue Description:
The following code:
placed in a typical "main.swift" file and compiled with "-O" optimizations will segfault swiftlang-800.0.41.2 (Xcode beta 4) and will give the following error in Swift built from latest source (commit 9ee231e):
There's a few variations on the same problem, which probably have the same underlying cause. Including this one:
which gives the slightly different verification error:
The text was updated successfully, but these errors were encountered: