| Index: lib/compiler/implementation/scanner/parser.dart
|
| diff --git a/lib/compiler/implementation/scanner/parser.dart b/lib/compiler/implementation/scanner/parser.dart
|
| index 33fa404e16ba65fb54a7878e28f2fee21e3df6d6..72fd63b483d0aa73011f218dc9b7a6b4b3d455c5 100644
|
| --- a/lib/compiler/implementation/scanner/parser.dart
|
| +++ b/lib/compiler/implementation/scanner/parser.dart
|
| @@ -358,7 +358,11 @@ class Parser {
|
| if (kind === KEYWORD_TOKEN) {
|
| Keyword keyword = token.value;
|
| String value = keyword.stringValue;
|
| - return keyword.isPseudo || (value === 'Dynamic') || (value === 'void');
|
| + // TODO(aprelev@gmail.com): Remove deprecated Dynamic keyword support.
|
| + return keyword.isPseudo
|
| + || (value === 'dynamic')
|
| + || (value === 'Dynamic')
|
| + || (value === 'void');
|
| }
|
| return false;
|
| }
|
|
|