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

Unified Diff: pkg/compiler/lib/src/parser/partial_elements.dart

Issue 1414913002: Introduce .isMalformed (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/parser/partial_elements.dart
diff --git a/pkg/compiler/lib/src/parser/partial_elements.dart b/pkg/compiler/lib/src/parser/partial_elements.dart
index 6e3e11ce35523878911ed7bb3f849d601f19c0e9..2829e9d82f269e5b0ffa140e4543ae82e9220365 100644
--- a/pkg/compiler/lib/src/parser/partial_elements.dart
+++ b/pkg/compiler/lib/src/parser/partial_elements.dart
@@ -66,7 +66,7 @@ abstract class PartialElement implements DeclarationSite {
bool hasParseError = false;
- bool get isErroneous => hasParseError;
+ bool get isMalformed => hasParseError;
DeclarationSite get declarationSite => this;
}
@@ -342,7 +342,7 @@ class PartialMetadataAnnotation extends MetadataAnnotationX
PartialMetadataAnnotation(this.beginToken, this.tokenAfterEndToken);
- bool get isErroneous => hasParseError;
+ bool get isMalformed => hasParseError;
DeclarationSite get declarationSite => this;

Powered by Google App Engine
This is Rietveld 408576698