We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74ed041 + 33c666a commit c09047fCopy full SHA for c09047f
validation-test/SILGen/issue-73244.swift
@@ -0,0 +1,9 @@
1
+// RUN: %target-swift-emit-silgen %s -verify
2
+
3
+// Check that SILGen does not crash because of a parenthesized try expression
4
+class Class {
5
+ var num: Int = 1
6
7
+ init() throws {}
8
+}
9
+_ = (try Class().num)
0 commit comments