[SR-10007] Casting error with tuples #52410
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
run-time crash
Bug → crash: Swift code crashed during execution
runtime
The Swift Runtime
SILGen
Area → compiler: The SIL generation stage
Environment
Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
Target: x86_64-apple-darwin18.2.0
Additional Detail from JIRA
md5: b136ffa2ceaa3e278adf2b4bdf1b810d
Issue Description:
The following code compiles fine but throws an unhelpful runtime error:
The error message is (in the REPL, but it also crashes outside of the REPL):
I don't really understand what's going on here.
The text was updated successfully, but these errors were encountered: