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

Side by Side Diff: test/codegen/expect/sunflower/sunflower.txt

Issue 1038583004: Rationalize coercions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase Created 5 years, 8 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
« no previous file with comments | « test/codegen/expect/methods.txt ('k') | test/dart_codegen/expect/_internal/iterable.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Messages from compiling sunflower.html 1 // Messages from compiling sunflower.html
2 info: line 21, column 29 of test/codegen/sunflower/sunflower.dart: [DownCast] qu erySelector("#slider") (Element) will need runtime check to cast to type InputEl ement 2 info: line 21, column 29 of test/codegen/sunflower/sunflower.dart: [AssignmentCa st] querySelector("#slider") (Element) will need runtime check to cast to type I nputElement
3 final InputElement slider = querySelector("#slider"); 3 final InputElement slider = querySelector("#slider");
4 ^^^^^^^^^^^^^^^^^^^^^^^^ 4 ^^^^^^^^^^^^^^^^^^^^^^^^
5 info: line 26, column 5 of test/codegen/sunflower/sunflower.dart: [DownCast] (qu erySelector("#canvas") as CanvasElement).getContext('2d') (RenderingContext) wil l need runtime check to cast to type CanvasRenderingContext2D 5 info: line 26, column 5 of test/codegen/sunflower/sunflower.dart: [AssignmentCas t] (querySelector("#canvas") as CanvasElement).getContext('2d') (RenderingContex t) will need runtime 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 29, column 37 of test/codegen/sunflower/sunflower.dart: [ClosureWr apLiteral] (e) => draw() ((dynamic) → void) will need to be wrapped with a closu re of type (Event) → void 8 warning: line 29, column 37 of test/codegen/sunflower/sunflower.dart: [ClosureWr apLiteral] (e) => draw() ((dynamic) → void) will need to be wrapped with a closu re of type (Event) → void
9 slider.addEventListener('change', (e) => draw()); 9 slider.addEventListener('change', (e) => draw());
10 ^^^^^^^^^^^^^ 10 ^^^^^^^^^^^^^
OLDNEW
« no previous file with comments | « test/codegen/expect/methods.txt ('k') | test/dart_codegen/expect/_internal/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698