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

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

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.txt
diff --git a/test/codegen/expect/sunflower.txt b/test/codegen/expect/sunflower.txt
index fad330a131293f15a943ae95ce7eb21fa0ad7819..7acce0a9ac3f1d2d8890733e359d198ee501841c 100644
--- a/test/codegen/expect/sunflower.txt
+++ b/test/codegen/expect/sunflower.txt
@@ -5,3 +5,6 @@ final InputElement slider = querySelector("#slider");
info: line 25, column 5 of test/codegen/sunflower.dart: [DownCast] (querySelector("#canvas") as CanvasElement).getContext('2d') (RenderingContext) will need runtime check to cast to type CanvasRenderingContext2D
(querySelector("#canvas") as CanvasElement).getContext('2d');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+warning: line 60, column 37 of test/codegen/sunflower.dart: [ClosureWrapLiteral] (e) => draw() ((dynamic) → void) will need to be wrapped with a closure of type (Event) → void
+ slider.addEventListener('change', (e) => draw());
+ ^^^^^^^^^^^^^

Powered by Google App Engine
This is Rietveld 408576698