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

Unified Diff: lib/compiler/implementation/resolver.dart

Issue 10827442: Fix dart2dart and dart2js build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/compiler/implementation/resolved_visitor.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/resolver.dart
diff --git a/lib/compiler/implementation/resolver.dart b/lib/compiler/implementation/resolver.dart
index ea7e5fc72bac36ecc8cfa6a32051041f58985ee3..1123f73bbf598d1d218ab15e9f4c3f7c29bc8374 100644
--- a/lib/compiler/implementation/resolver.dart
+++ b/lib/compiler/implementation/resolver.dart
@@ -2338,11 +2338,11 @@ class ConstructorResolver extends CommonResolverVisitor<Element> {
fullConstructorName = '$fullConstructorName'
'.${constructorName.slowToString()}';
}
- ResolutionWarning message =
+ ResolutionWarning warning =
new ResolutionWarning(MessageKind.CANNOT_FIND_CONSTRUCTOR,
[fullConstructorName]);
- compiler.reportWarning(diagnosticNode, message);
- return new ErroneousFunctionElement(message, cls);
+ compiler.reportWarning(diagnosticNode, warning);
+ return new ErroneousFunctionElement(warning.message, cls);
}
return result;
}
« no previous file with comments | « lib/compiler/implementation/resolved_visitor.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698