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

Unified Diff: test/codegen/expect/cascade.js

Issue 1093143004: fixes #52, fields shadowing getters/setters or other fields (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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 | « test/codegen/expect/DeltaBlue.js ('k') | test/codegen/expect/constructors.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/cascade.js
diff --git a/test/codegen/expect/cascade.js b/test/codegen/expect/cascade.js
index 97bdf1eefb46de54e114d384f6a4fbbb9d2497aa..0a890666b8186da66f62fa5315f5d973d433b75a 100644
--- a/test/codegen/expect/cascade.js
+++ b/test/codegen/expect/cascade.js
@@ -3,7 +3,7 @@ var cascade;
'use strict';
class A extends core.Object {
A() {
- this.x = null;
+ dart.initField(A, this, 'x', null);
}
}
// Function test_closure_with_mutate: () → void
@@ -85,7 +85,7 @@ var cascade;
let Base$ = dart.generic(function(T) {
class Base extends core.Object {
Base() {
- this.x = new core.List$(T).from([]);
+ dart.initField(Base, this, 'x', new core.List$(T).from([]));
}
}
return Base;
« no previous file with comments | « test/codegen/expect/DeltaBlue.js ('k') | test/codegen/expect/constructors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698