Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b977476

Browse files
jensjohacommit-bot@chromium.org
authored andcommitted
[parser] Add test for formal parameter with name that is keyword
Change-Id: If3256128bd7ad4c6062e3ea24f35e6a0552740a9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210722 Reviewed-by: Johnni Winther <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Jens Johansen <[email protected]>
1 parent 5e00baa commit b977476

File tree

5 files changed

+4822
-0
lines changed

5 files changed

+4822
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
void test(int abstract) {}
2+
void test(int as) {}
3+
void test(int assert) {}
4+
void test(int async) {}
5+
void test(int await) {}
6+
void test(int break) {}
7+
void test(int case) {}
8+
void test(int catch) {}
9+
void test(int class) {}
10+
void test(int const) {}
11+
void test(int continue) {}
12+
void test(int covariant) {}
13+
void test(int default) {}
14+
void test(int deferred) {}
15+
void test(int do) {}
16+
void test(int dynamic) {}
17+
void test(int else) {}
18+
void test(int enum) {}
19+
void test(int export) {}
20+
void test(int extends) {}
21+
void test(int extension) {}
22+
void test(int external) {}
23+
void test(int factory) {}
24+
void test(int false) {}
25+
void test(int final) {}
26+
void test(int finally) {}
27+
void test(int for) {}
28+
void test(int Function) {}
29+
void test(int get) {}
30+
void test(int hide) {}
31+
void test(int if) {}
32+
void test(int implements) {}
33+
void test(int import) {}
34+
void test(int in) {}
35+
void test(int inout) {}
36+
void test(int interface) {}
37+
void test(int is) {}
38+
void test(int late) {}
39+
void test(int library) {}
40+
void test(int mixin) {}
41+
void test(int native) {}
42+
void test(int new) {}
43+
void test(int null) {}
44+
void test(int of) {}
45+
void test(int on) {}
46+
void test(int operator) {}
47+
void test(int out) {}
48+
void test(int part) {}
49+
void test(int patch) {}
50+
void test(int required) {}
51+
void test(int rethrow) {}
52+
void test(int return) {}
53+
void test(int set) {}
54+
void test(int show) {}
55+
void test(int source) {}
56+
void test(int static) {}
57+
void test(int super) {}
58+
void test(int switch) {}
59+
void test(int sync) {}
60+
void test(int this) {}
61+
void test(int throw) {}
62+
void test(int true) {}
63+
void test(int try) {}
64+
void test(int typedef) {}
65+
void test(int var) {}
66+
void test(int void) {}
67+
void test(int while) {}
68+
void test(int with) {}
69+
void test(int yield) {}

0 commit comments

Comments
 (0)