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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 11412245: MalformedType used for all invalid type annotations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Bug fixes Created 8 years, 1 month 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
Index: sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index cbd205d4cc6757c487a70320587e106dd0adf790..38d2a27141ccdefef917b8810f44bd3a38a56abd 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -154,7 +154,7 @@ abstract class Compiler implements DiagnosticListener {
} on SpannableAssertionFailure catch (ex) {
if (!hasCrashed) {
SourceSpan span = spanFromSpannable(ex.node);
- reportDiagnostic(span, ex.message, api.Diagnostic.ERROR);
+ reportDiagnostic(span, ex.message, api.Diagnostic.INFO);
ahe 2012/11/30 15:44:07 Let's find another way to solve this.
Johnni Winther 2012/12/04 10:07:17 Done.
}
hasCrashed = true;
throw;

Powered by Google App Engine
This is Rietveld 408576698