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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Messages from compiling sunflower.dart 1 // Messages from compiling sunflower.dart
2 info: line 20, column 29 of test/codegen/sunflower.dart: [DownCast] querySelecto r("#slider") (Element) will need runtime check to cast to type InputElement 2 info: line 20, column 29 of test/codegen/sunflower.dart: [DownCast] querySelecto r("#slider") (Element) will need runtime check to cast to type InputElement
3 final InputElement slider = querySelector("#slider"); 3 final InputElement slider = querySelector("#slider");
4 ^^^^^^^^^^^^^^^^^^^^^^^^ 4 ^^^^^^^^^^^^^^^^^^^^^^^^
5 info: line 25, column 5 of test/codegen/sunflower.dart: [DownCast] (querySelecto r("#canvas") as CanvasElement).getContext('2d') (RenderingContext) will need run time check to cast to type CanvasRenderingContext2D 5 info: line 25, column 5 of test/codegen/sunflower.dart: [DownCast] (querySelecto r("#canvas") as CanvasElement).getContext('2d') (RenderingContext) will need run time check to cast to type CanvasRenderingContext2D
6 (querySelector("#canvas") as CanvasElement).getContext('2d'); 6 (querySelector("#canvas") as CanvasElement).getContext('2d');
7 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8 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
9 slider.addEventListener('change', (e) => draw());
10 ^^^^^^^^^^^^^
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698