Chromium Code Reviews| Index: test/codegen/expect/sunflower/sunflower.js |
| diff --git a/test/codegen/expect/sunflower/sunflower.js b/test/codegen/expect/sunflower/sunflower.js |
| index 5444a64e6aae8300749ef5e465cb2ad15e376ea7..52b1b99ea104f08a6e69a6327f427d7e95383c1d 100644 |
| --- a/test/codegen/expect/sunflower/sunflower.js |
| +++ b/test/codegen/expect/sunflower/sunflower.js |
| @@ -29,7 +29,7 @@ var sunflower; |
| }); |
| // Function main: () → void |
| function main() { |
| - exports.slider.addEventListener('change', dart.closureWrap((e) => draw(), "(Event) → void")); |
| + exports.slider.addEventListener('change', dart.as((e) => draw(), dom.EventListener)); |
|
vsm
2015/04/01 00:14:19
Did we infer this? We shouldn't need a cast at ru
Leaf
2015/04/03 00:51:55
The JS codegen currently turns most conversions (i
|
| draw(); |
| } |
| // Function draw: () → void |