Skip to content

Commit b278269

Browse files
committed
fix(dynamite)!: Reserve builder interface method keywords
Signed-off-by: provokateurin <kate@provokateurin.de>
1 parent 06ec440 commit b278269

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/dynamite/dynamite/lib/src/helpers/dart_helpers.dart

+2
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ const _reservedNames = [
188188
'void',
189189
'while',
190190
'with',
191+
'update',
192+
'replace',
191193
];
192194

193195
bool _isNonAlphaNumericString(String input) => !RegExp(r'^[a-zA-Z0-9]$').hasMatch(input);

0 commit comments

Comments
 (0)