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

Unified Diff: pkg/front_end/lib/src/fasta/loader.dart

Issue 2697523002: Add accessor for getting target-specific constructor. (Closed)
Patch Set: Created 3 years, 10 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
Index: pkg/front_end/lib/src/fasta/loader.dart
diff --git a/pkg/front_end/lib/src/fasta/loader.dart b/pkg/front_end/lib/src/fasta/loader.dart
index 35463be1b0cc405c296bbcc064c80afdca3465b8..2d8cf71f35ff05a6bd17dbf0179861f7551b8b19 100644
--- a/pkg/front_end/lib/src/fasta/loader.dart
+++ b/pkg/front_end/lib/src/fasta/loader.dart
@@ -14,6 +14,7 @@ import 'ast_kind.dart' show
AstKind;
import 'builder/builder.dart' show
+ Builder,
LibraryBuilder;
import 'errors.dart' show
@@ -147,6 +148,8 @@ ${format(ms / libraryCount, 3, 12)} ms/compilation unit.""");
}
return errors;
}
+
+ Builder getCompileTimeError() => target.getCompileTimeError(this);
}
String format(double d, int fractionDigits, int width) {
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/lib/src/fasta/target_implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698