Skip to content

Commit 5caa92e

Browse files
authored
Add catch and finally to bannedNames (#346)
Generating all the bindings generates codes with these keywords, leading to analysis errors. Members with this name will be renamed using `@JS`.
1 parent e2f9741 commit 5caa92e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web_generator/lib/src/banned_names.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
const bannedNames = <String>{
66
'assert',
77
'break',
8+
'catch',
89
'continue',
9-
'extends',
1010
'default',
11+
'extends',
12+
'finally',
1113
'in',
1214
'is',
1315
'var',

0 commit comments

Comments
 (0)