[SR-9654] Swift 5: Compiler crashes on SILGen for subscript with autoclosure argument #52098
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
code coverage
Area → source tooling: code coverage
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
Environment
5.0-DEVELOPMENT-SNAPSHOT-2019-01-13-a
Apple Swift version 5.0-dev (LLVM ed64f75263, Clang e5012f3421, Swift 5a827a9)
Target: x86_64-apple-darwin18.2.0
Additional Detail from JIRA
md5: aaa569abe2db3ea87736204ac2ff957c
Issue Description:
This code crashes the compiler when code coverage is enabled:
I am using the latest (5.0-DEVELOPMENT-SNAPSHOT-2019-01-13-a) snapshot.
The SPM project to reproduce the issue: https://github.com/broadwaylamb/CompilerCrasherAutoclosureSubscript
Run:
--enable-code-coverage
is important.The text was updated successfully, but these errors were encountered: