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

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

Issue 1383503002: Add Resolution and Parsing interfaces for computeType, ensureResolved and parseNode. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/parser_task.dart
diff --git a/pkg/compiler/lib/src/parser/parser_task.dart b/pkg/compiler/lib/src/parser/parser_task.dart
index a0e900a4a5c8030d984f2b70f22478d38f1d6c23..b9d89ef6f77437e71404a13c9544e26af0f3ec47 100644
--- a/pkg/compiler/lib/src/parser/parser_task.dart
+++ b/pkg/compiler/lib/src/parser/parser_task.dart
@@ -29,7 +29,7 @@ class ParserTask extends CompilerTask {
String get name => 'Parser';
Node parse(ElementX element) {
- return measure(() => element.parseNode(compiler));
+ return measure(() => element.parseNode(compiler.parsing));
}
Node parseCompilationUnit(Token token) {

Powered by Google App Engine
This is Rietveld 408576698