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

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

Issue 1010893004: Allow S->T <: dynamic->T (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Add comment Created 5 years, 9 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.js
diff --git a/test/codegen/expect/sunflower.js b/test/codegen/expect/sunflower.js
index 5f680329a8c9f091cc825096fd494ac9288286a0..65500cfc782a568a794c7cb34540286028b5d281 100644
--- a/test/codegen/expect/sunflower.js
+++ b/test/codegen/expect/sunflower.js
@@ -60,7 +60,7 @@ var sunflower;
}
// Function main: () → void
function main() {
- exports.slider.addEventListener('change', (e) => draw());
+ exports.slider.addEventListener('change', dart.closureWrap((e) => draw(), "(Event) → void"));
draw();
}
// Function draw: () → void

Powered by Google App Engine
This is Rietveld 408576698