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 eaa0424 commit 7e758f5Copy full SHA for 7e758f5
test/Syntax/Parser/diags.swift
@@ -25,4 +25,10 @@ if (5 ‒ 5) == 0 {}
25
// CHECK-NEXT: ([[@LINE-4]]:7,[[@LINE-4]]:10) Fixit: "-"
26
// CHECK-NEXT: [[@LINE-5]]:11 Error: expected ',' separator
27
// CHECK-NEXT: ([[@LINE-6]]:6,[[@LINE-6]]:6) Fixit: ","
28
+
29
+let dateFormatter: DateFormatter = {
30
+ let dateFormatter = DateFormatter()
31
+ return dateFormatter
32
+}()
33
34
// CHECK-NEXT: 7 error(s) 0 warnings(s) 2 note(s)
0 commit comments