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

Unified Diff: lib/src/codegen/reify_coercions.dart

Issue 1056183002: Better error messages (Closed) Base URL: git@github.com:dart-lang/dart-dev-compiler.git@master
Patch Set: Created 5 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/checker/rules.dart ('k') | lib/src/info.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/reify_coercions.dart
diff --git a/lib/src/codegen/reify_coercions.dart b/lib/src/codegen/reify_coercions.dart
index 8bbace34346931b1efc5d30ead419d2aa40d48ae..f9165c9bb80df5bf4401dc286f0894e74487e9a5 100644
--- a/lib/src/codegen/reify_coercions.dart
+++ b/lib/src/codegen/reify_coercions.dart
@@ -137,7 +137,7 @@ class UnitCoercionReifier extends analyzer.GeneralizingAstVisitor<Object>
@override
Object visitInferredTypeBase(InferredTypeBase node) {
var expr = node.node;
- var b = _inferrer.inferExpression(expr, node.type);
+ var b = _inferrer.inferExpression(expr, node.type, <String>[]);
assert(b);
if (!NodeReplacer.replace(node, expr)) {
_log.severe("Failed to replace node for InferredType");
« no previous file with comments | « lib/src/checker/rules.dart ('k') | lib/src/info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698