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.
1 parent 49dd95f commit 33c666aCopy full SHA for 33c666a
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