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

Unified Diff: lib/src/polyfill.dart

Issue 1832993003: Fix all strong mode errors and warnings. (Closed) Base URL: https://github.com/dart-lang/csslib.git@master
Patch Set: Move type. Created 4 years, 8 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/analyzer.dart ('k') | lib/src/property.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/polyfill.dart
diff --git a/lib/src/polyfill.dart b/lib/src/polyfill.dart
index b18abd1626c1686043a90c7aed5e5b880c75f976..69f9e6d15d2e3864e4b006677ac48f033098afa4 100644
--- a/lib/src/polyfill.dart
+++ b/lib/src/polyfill.dart
@@ -170,7 +170,7 @@ class _VarDefAndUsage extends Visitor {
}
List<Expression> resolveUsageTerminal(VarUsage usage) {
- var result = [];
+ var result = <Expression>[];
var varDef = _knownVarDefs[usage.name];
var expressions;
« no previous file with comments | « lib/src/analyzer.dart ('k') | lib/src/property.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698