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

Unified Diff: lib/src/polyfill.dart

Issue 873313003: Cleanup some ambiguous and incorrect types and disable a case that in analyzer.dart that seems like… (Closed) Base URL: git@github.com:dart-lang/csslib.git@master
Patch Set: ptal Created 5 years, 11 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 ef3c7b97d455457048a8b974a9a421a8c07d4dd7..95749b9fe525c5cb6eccd03fbb164eb33277d8b6 100644
--- a/lib/src/polyfill.dart
+++ b/lib/src/polyfill.dart
@@ -144,7 +144,7 @@ class _VarDefAndUsage extends Visitor {
} else if (node.defaultValues.any((e) => e is VarUsage)) {
// Don't have a VarDefinition need to use default values resolve all
// default values.
- var terminalDefaults = [];
+ var terminalDefaults = <Expression>[];
for (var defaultValue in node.defaultValues) {
terminalDefaults.addAll(resolveUsageTerminal(defaultValue));
}
@@ -199,7 +199,7 @@ class _VarDefAndUsage extends Visitor {
return result;
}
- _resolveVarUsage(List<Expressions> expressions, int index,
+ _resolveVarUsage(List<Expression> expressions, int index,
VarDefinition def) {
var defExpressions = (def.expression as Expressions).expressions;
expressions.replaceRange(index, index + 1, defExpressions);
« 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