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

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

Issue 9639012: Implement the compiler API and use it in frog_leg.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed review comments and created separate implementation library 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/apiimpl.dart ('k') | dart/frog/leg/frog_leg.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/compiler.dart
diff --git a/dart/frog/leg/compiler.dart b/dart/frog/leg/compiler.dart
index edf0f70abc9d4880a448909c717b1d2b6ec50c19..b9544ad255ffa501d25f2eaf9d553c9e17cf099d 100644
--- a/dart/frog/leg/compiler.dart
+++ b/dart/frog/leg/compiler.dart
@@ -367,7 +367,8 @@ class Compiler implements DiagnosticListener {
}
reportWarning(Node node, var message) {}
- reportError(Node node, var message) {}
+
+ reportError(Node node, var message) => cancel(message, node: node);
Script readScript(Uri uri, [ScriptTag node]) {
unimplemented('Compiler.readScript');
« no previous file with comments | « dart/frog/leg/apiimpl.dart ('k') | dart/frog/leg/frog_leg.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698