| Index: test/codegen/expect/sunflower/sunflower.txt
|
| diff --git a/test/codegen/expect/sunflower/sunflower.txt b/test/codegen/expect/sunflower/sunflower.txt
|
| index 58bf3f151b7b7accd391f0d2b51cccb4c15c0a3b..7ae4d8dcb42c333e26c7d76128006a16099fecdd 100644
|
| --- a/test/codegen/expect/sunflower/sunflower.txt
|
| +++ b/test/codegen/expect/sunflower/sunflower.txt
|
| @@ -1,10 +1,10 @@
|
| // Messages from compiling sunflower.html
|
| -info: line 21, column 29 of test/codegen/sunflower/sunflower.dart: [AssignmentCast] querySelector("#slider") (Element) will need runtime check to cast to type InputElement
|
| +info: line 20, column 29 of test/codegen/sunflower/sunflower.dart: [AssignmentCast] querySelector("#slider") (Element) will need runtime check to cast to type InputElement
|
| final InputElement slider = querySelector("#slider");
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
| -info: line 26, column 5 of test/codegen/sunflower/sunflower.dart: [AssignmentCast] (querySelector("#canvas") as CanvasElement).getContext('2d') (RenderingContext) will need runtime check to cast to type CanvasRenderingContext2D
|
| +info: line 25, column 5 of test/codegen/sunflower/sunflower.dart: [AssignmentCast] (querySelector("#canvas") as CanvasElement).getContext('2d') (RenderingContext) will need runtime check to cast to type CanvasRenderingContext2D
|
| (querySelector("#canvas") as CanvasElement).getContext('2d');
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| -info: line 29, column 37 of test/codegen/sunflower/sunflower.dart: [InferredTypeClosure] (e) => draw() has inferred type (Event) → void
|
| +info: line 28, column 37 of test/codegen/sunflower/sunflower.dart: [InferredTypeClosure] (e) => draw() has inferred type (Event) → void
|
| slider.addEventListener('change', (e) => draw());
|
| ^^^^^^^^^^^^^
|
|
|