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

Unified Diff: pkg/dart2js_incremental/lib/library_updater.dart

Issue 1892733003: fix tests (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
« no previous file with comments | « no previous file | tests/try/poi/apply_updates_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dart2js_incremental/lib/library_updater.dart
diff --git a/pkg/dart2js_incremental/lib/library_updater.dart b/pkg/dart2js_incremental/lib/library_updater.dart
index a5cdc02110276688ec6cec9faece95266d36f6eb..7994891952d448b86ed51ad2eb3e34440730cfc8 100644
--- a/pkg/dart2js_incremental/lib/library_updater.dart
+++ b/pkg/dart2js_incremental/lib/library_updater.dart
@@ -683,7 +683,7 @@ class LibraryUpdater extends JsFeatures {
PartialFunctionElement before,
PartialFunctionElement after) {
FunctionExpression node =
- after.parseNode(compiler.parsing).asFunctionExpression();
+ after.parseNode(compiler.parsingContext).asFunctionExpression();
if (node == null) {
return cannotReuse(after, "Not a function expression: '$node'");
}
@@ -705,7 +705,7 @@ class LibraryUpdater extends JsFeatures {
Token diffToken,
PartialClassElement before,
PartialClassElement after) {
- ClassNode node = after.parseNode(compiler.parsing).asClassNode();
+ ClassNode node = after.parseNode(compiler.parsingContext).asClassNode();
if (node == null) {
return cannotReuse(after, "Not a ClassNode: '$node'");
}
« no previous file with comments | « no previous file | tests/try/poi/apply_updates_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698