Compiler crash on parenthesized try expression #73244
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
error handling
expressions
Feature: expressions
good first issue
Good for newcomers
needs tests
Flag: Needs tests
SILGen
Area → compiler: The SIL generation stage
swift 5.10
Description
Compiler crashes on certain cases of parenthesized try expressions.
Reproduction
Stack dump
Expected behavior
Compiler should compile the code or provide a meaningful error message if the usage is not allowed.
Environment
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: