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: pkg/compiler/lib/src/serialization/modelz.dart

Issue 1918903004: Make support for async/await syntax optional in the frontend. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/compiler/lib/src/serialization/modelz.dart
diff --git a/pkg/compiler/lib/src/serialization/modelz.dart b/pkg/compiler/lib/src/serialization/modelz.dart
index 5122259100326e649db3b1641d2f2b4057c7bfba..333ea96276a9ef11b58f3cb84ade4e85b9fd0e21 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -497,8 +497,10 @@ class ScriptZ implements Script {
_file = value;
}
+ // TODO(johnniwinther): Decide if it is meaningful to serialize erroneous
+ // elements.
@override
- bool get isSynthesized => throw new UnsupportedError('ScriptZ.isSynthesized');
+ bool get isSynthesized => false;
@override
String get name {

Powered by Google App Engine
This is Rietveld 408576698