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

Unified Diff: test/codegen/expect/sunflower/painter.js

Issue 1636233002: fixes #427, static fields emitted outside the scope of their class (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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: test/codegen/expect/sunflower/painter.js
diff --git a/test/codegen/expect/sunflower/painter.js b/test/codegen/expect/sunflower/painter.js
index a1205603ad2db2e9e241020dd9668dc11b01b091..ceaac7466b6084d9978bceaa8afa189e84f8aa40 100644
--- a/test/codegen/expect/sunflower/painter.js
+++ b/test/codegen/expect/sunflower/painter.js
@@ -19,7 +19,9 @@ dart_library.library('sunflower/painter', null, /* Imports */[
dart.defineLazyProperties(exports, {
get canvas() {
return dart.as(querySelector("#canvas"), dom.CanvasElement);
- },
+ }
+ });
+ dart.defineLazyProperties(exports, {
get context() {
return dart.as(exports.canvas.getContext('2d'), dom.CanvasRenderingContext2D);
}

Powered by Google App Engine
This is Rietveld 408576698