Index: test/codegen_expected/language/cascade_precedence_test.js |
diff --git a/test/codegen_expected/language/cascade_precedence_test.js b/test/codegen_expected/language/cascade_precedence_test.js |
index eef51afb266f3fe9cd9ad2b866690e7289d503ad..a96a7cd99b485c6937eff7cd2770b7aa2e0c5abd 100644 |
--- a/test/codegen_expected/language/cascade_precedence_test.js |
+++ b/test/codegen_expected/language/cascade_precedence_test.js |
@@ -9,6 +9,7 @@ dart_library.library('language/cascade_precedence_test', null, /* Imports */[ |
const expect$ = expect.expect; |
const cascade_precedence_test = Object.create(null); |
let VoidToFunction = () => (VoidToFunction = dart.constFn(dart.definiteFunctionType(core.Function, [])))(); |
+ let VoidToA = () => (VoidToA = dart.constFn(dart.definiteFunctionType(cascade_precedence_test.A, [])))(); |
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
cascade_precedence_test.A = class A extends core.Object { |
new(value) { |
@@ -86,7 +87,7 @@ dart_library.library('language/cascade_precedence_test', null, /* Imports */[ |
function fa() { |
return a; |
} |
- dart.fn(fa, VoidTodynamic()); |
+ dart.fn(fa, VoidToA()); |
let box = new cascade_precedence_test.Box(a); |
expect$.Expect.equals(a, ((() => { |
a.set(37); |
@@ -96,8 +97,8 @@ dart_library.library('language/cascade_precedence_test', null, /* Imports */[ |
a.test(37); |
expect$.Expect.equals(a, (() => { |
let _ = fa(); |
- dart.dsend(_, 'set', 42); |
- dart.dsend(_, 'get'); |
+ _.set(42); |
+ _.get(); |
return _; |
})()); |
a.test(42); |