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

Unified Diff: dart/frog/leg/frog_leg.dart

Issue 9646030: Find diagnostic locations for use in new compiler API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased Created 8 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 | « dart/frog/leg/elements/elements.dart ('k') | dart/frog/leg/resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/frog_leg.dart
diff --git a/dart/frog/leg/frog_leg.dart b/dart/frog/leg/frog_leg.dart
index b5a91274436d22ca63d6b403017e85270132783e..1327461baf9fbb77b0e8c0ad10ee1a9069ccd720 100644
--- a/dart/frog/leg/frog_leg.dart
+++ b/dart/frog/leg/frog_leg.dart
@@ -35,8 +35,8 @@ bool compile(frog.World world) {
world.info('[leg] $message');
return;
}
- print(message);
- if (fatal && throwOnError) new AbortLeg(message);
+ print('$uri:$begin:$end: $message');
+ if (fatal && throwOnError) throw new AbortLeg(message);
}
// TODO(ahe): We expect the future to be complete and call value
« no previous file with comments | « dart/frog/leg/elements/elements.dart ('k') | dart/frog/leg/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698