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

Unified Diff: lib/src/parser.dart

Issue 1845043002: Fix all strong mode warnings. (Closed) Base URL: git@github.com:dart-lang/boolean_selector@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « lib/src/evaluator.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/parser.dart
diff --git a/lib/src/parser.dart b/lib/src/parser.dart
index f9ab470ec2a1ddd621076ad5032d9ad73d7c74f4..49c1e720ffa877b817b9c818b6d70cab725f6222 100644
--- a/lib/src/parser.dart
+++ b/lib/src/parser.dart
@@ -96,7 +96,7 @@ class Parser {
return child;
case TokenType.identifier:
- return new VariableNode(token.name, token.span);
+ return new VariableNode((token as IdentifierToken).name, token.span);
default:
throw new SourceSpanFormatException("Expected expression.", token.span);
« no previous file with comments | « lib/src/evaluator.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698