Index: test/codegen_expected/language/closure_type_variable_test.js |
diff --git a/test/codegen_expected/language/closure_type_variable_test.js b/test/codegen_expected/language/closure_type_variable_test.js |
index d7a8fb9225f5d5e4dfff4334bd1015b23535e19e..ef462e8bfc8f9f8f000090529fa78c98a1cc3192 100644 |
--- a/test/codegen_expected/language/closure_type_variable_test.js |
+++ b/test/codegen_expected/language/closure_type_variable_test.js |
@@ -10,6 +10,7 @@ dart_library.library('language/closure_type_variable_test', null, /* Imports */[ |
const closure_type_variable_test = Object.create(null); |
let A = () => (A = dart.constFn(closure_type_variable_test.A$()))(); |
let AOfint = () => (AOfint = dart.constFn(closure_type_variable_test.A$(core.int)))(); |
+ let VoidToType = () => (VoidToType = dart.constFn(dart.definiteFunctionType(core.Type, [])))(); |
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
closure_type_variable_test.A$ = dart.generic(T => { |
class A extends core.Object { |
@@ -17,7 +18,7 @@ dart_library.library('language/closure_type_variable_test', null, /* Imports */[ |
function bar() { |
return dart.wrapType(T); |
} |
- dart.fn(bar, VoidTodynamic()); |
+ dart.fn(bar, VoidToType()); |
return bar(); |
} |
} |