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

Unified Diff: runtime/vm/parser.cc

Issue 1227123004: Fix prefix errors with --noopt (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
index dcfa06105059aa65cae4f14bfb9bbfe482b704ae..d3ccd424b460387eda6b682b53f55741618863dd 100644
--- a/runtime/vm/parser.cc
+++ b/runtime/vm/parser.cc
@@ -12052,7 +12052,7 @@ RawAbstractType* Parser::ParseType(
"using '%s' in this context is invalid",
type_name.ToCString());
}
- if (!FLAG_load_deferred_eagerly &&
+ if ((!FLAG_load_deferred_eagerly || !allow_deferred_type) &&
hausner 2015/07/10 21:47:49 This is becoming kind of unreadable.
!prefix->IsNull() && prefix->is_deferred_load()) {
// If deferred prefixes are allowed but it is not yet loaded,
// remember that this function depends on the prefix.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698