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 49b2f4e commit 2d73550Copy full SHA for 2d73550
test/Parse/closure-debugger.swift
@@ -0,0 +1,6 @@
1
+// RUN: not %target-swift-frontend %s -typecheck -debugger-support 2>&1 | %FileCheck %s --check-prefix=DEBUG
2
+// RUN: not %target-swift-frontend %s -typecheck 2>&1 | %FileCheck %s --check-prefix=NODEBUG
3
+
4
+// DEBUG: error: use of unresolved identifier '$0'
5
+// NODEBUG: error: anonymous closure argument not contained in a closure
6
+$0
0 commit comments