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 20d73f8 commit 9126a12Copy full SHA for 9126a12
test/Frontend/emit-syntax.swift
@@ -37,6 +37,23 @@ func Bar(arg1: String, arg2: Int) {
37
// CHECK: "kind":"r_brace"
38
}
39
40
+// CHECK: "kind":"kw_func"
41
+// CHECK: "text":"CheckParameterList"
42
+// CHECK: "kind":"l_paren"
43
+// CHECK: "text":"arg1"
44
+// CHECK: "text":"String"
45
+// CHECK: "kind":"ellipsis"
46
+// CHECK: "presence":"Present"}
47
+// CHECK: null
48
+// CHECK: "kind":"comma"
49
+// CHECK: "text":"arg2"
50
+// CHECK: "text":"Int"
51
+// CHECK: "kind":"r_paren"
52
+// CHECK: "kind":"l_brace"
53
+func CheckParameterList(arg1: String..., arg2: Int) {
54
+// CHECK: "kind":"r_brace"
55
+}
56
+
57
// CHECK: "leadingTrivia":[
58
// CHECK: "kind":"LineComment",
59
// CHECK: "value":"\/\/ Comment at the end of the file"
0 commit comments