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

Unified Diff: lib/src/compiler.dart

Issue 12474009: Fix path bug in windows, don't emit code altogether if we have already seen (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 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 | « no previous file | lib/src/dart_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler.dart
diff --git a/lib/src/compiler.dart b/lib/src/compiler.dart
index 82b2832f00624fa318d0b93b59a16f306b21ee48..c4c15ba877e0aa0ecb7fdf29433f5e0ccfb684d0 100644
--- a/lib/src/compiler.dart
+++ b/lib/src/compiler.dart
@@ -107,11 +107,11 @@ class Compiler {
}
return _parseAndDiscover(_mainPath).then((_) {
_analyze();
- _transformDart();
- _emit();
// TODO(jmesserly): need to go through our errors, and figure out if some
// of them should be warnings instead.
- if (_messages.hasErrors) output.clear();
+ if (_messages.hasErrors) return;
+ _transformDart();
+ _emit();
});
}
« no previous file with comments | « no previous file | lib/src/dart_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698