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

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

Issue 10666052: Revert "Implement override checks." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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/compiler.dart ('k') | lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/dart2js.dart
diff --git a/lib/compiler/implementation/dart2js.dart b/lib/compiler/implementation/dart2js.dart
index 7c147ffeac761571f1d965bdcc4082ae247ba4fa..a4ce8c0ad021f619be40926d78c1adb932a2968a 100644
--- a/lib/compiler/implementation/dart2js.dart
+++ b/lib/compiler/implementation/dart2js.dart
@@ -194,7 +194,8 @@ void compile(List<String> argv) {
isAborting = kind === api.Diagnostic.CRASH;
bool fatal = (kind.ordinal & FATAL) != 0;
bool isInfo = (kind.ordinal & INFO) != 0;
- if (isInfo && uri === null && kind !== api.Diagnostic.INFO) {
+ if (isInfo) {
+ assert(uri === null);
info(message, kind);
return;
}
@@ -209,8 +210,6 @@ void compile(List<String> argv) {
color = colors.magenta;
} else if (kind === api.Diagnostic.CRASH) {
color = colors.red;
- } else if (kind === api.Diagnostic.INFO) {
- color = colors.green;
} else {
throw 'Unknown kind: $kind (${kind.ordinal})';
}
« no previous file with comments | « lib/compiler/implementation/compiler.dart ('k') | lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698