Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/parser.dart

Issue 12087094: Removed Dynamic keyword support from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Copied inherited dart2js test status to dart2dart status file. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/scanner/parser.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/parser.dart b/sdk/lib/_internal/compiler/implementation/scanner/parser.dart
index 8955b0041583cfe737822d6df16003f5aca8eb68..c2469c35e487892541b29c5390a7c37da93f9b34 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/parser.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/parser.dart
@@ -404,10 +404,8 @@ class Parser {
if (identical(kind, KEYWORD_TOKEN)) {
Keyword keyword = token.value;
String value = keyword.stringValue;
- // TODO(aprelev@gmail.com): Remove deprecated Dynamic keyword support.
return keyword.isPseudo
|| (identical(value, 'dynamic'))
- || (identical(value, 'Dynamic'))
|| (identical(value, 'void'));
}
return false;

Powered by Google App Engine
This is Rietveld 408576698