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

Unified Diff: dart/pkg/compiler/lib/src/scanner/class_element_parser.dart

Issue 750653002: Checked mode fixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r41950. Created 6 years, 1 month 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 | « no previous file | dart/pkg/dart2js_incremental/lib/library_updater.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/scanner/class_element_parser.dart
diff --git a/dart/pkg/compiler/lib/src/scanner/class_element_parser.dart b/dart/pkg/compiler/lib/src/scanner/class_element_parser.dart
index d1fe842c87898958e31ee274e8a033116ecefa8a..f0b0020ec86cc06886c810037a861e714acf8d4c 100644
--- a/dart/pkg/compiler/lib/src/scanner/class_element_parser.dart
+++ b/dart/pkg/compiler/lib/src/scanner/class_element_parser.dart
@@ -24,13 +24,13 @@ class PartialClassElement extends ClassElementX with PartialElement {
}
void set supertypeLoadState(int state) {
- assert(state == supertypeLoadState + 1);
+ assert(state == STATE_NOT_STARTED || state == supertypeLoadState + 1);
assert(state <= STATE_DONE);
super.supertypeLoadState = state;
}
void set resolutionState(int state) {
- assert(state == resolutionState + 1);
+ assert(state == STATE_NOT_STARTED || state == resolutionState + 1);
assert(state <= STATE_DONE);
super.resolutionState = state;
}
« no previous file with comments | « no previous file | dart/pkg/dart2js_incremental/lib/library_updater.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698