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

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

Issue 2781493002: Throw AbstractClassInstantiationError on abstract classes. (Closed)
Patch Set: Update co19 status. Created 3 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
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 0af3e1f31f5d33fa28e49a49ca28f417d1634f49..f8a7b4231de619a1ff8b9b7fa5a7b27336557101 100644
--- a/pkg/front_end/lib/src/fasta/loader.dart
+++ b/pkg/front_end/lib/src/fasta/loader.dart
@@ -139,6 +139,10 @@ ${format(ms / libraryCount, 3, 12)} ms/compilation unit.""");
Builder getCompileTimeError() => target.getCompileTimeError(this);
Builder getNativeAnnotation() => target.getNativeAnnotation(this);
+
+ Builder getAbstractClassInstantiationError() {
+ return target.getAbstractClassInstantiationError(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