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

Side by Side Diff: test/dart_codegen/expect/types.txt

Issue 1010893004: Allow S->T <: dynamic->T (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase and address comments 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
« no previous file with comments | « test/dart_codegen/expect/d/d.dart ('k') | test/generated_sdk/lib/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 types.dart 1 // Messages from compiling types.dart
2 info: line 10, column 6 of test/dart_codegen/types/c.dart: [DownCast] f4(3) (dyn amic) will need runtime check to cast to type A 2 info: line 10, column 6 of test/dart_codegen/types/c.dart: [DownCast] f4(3) (dyn amic) will need runtime check to cast to type A
3 f3(f4(3)); 3 f3(f4(3));
4 ^^^^^ 4 ^^^^^
5 warning: line 11, column 6 of test/dart_codegen/types/c.dart: [ClosureWrap] f4 ( (dynamic) → dynamic) will need to be wrapped with a closure of type (A) → A 5 warning: line 11, column 6 of test/dart_codegen/types/c.dart: [ClosureWrap] f4 ( (dynamic) → dynamic) will need to be wrapped with a closure of type (A) → A
6 f1(f4); 6 f1(f4);
7 ^^ 7 ^^
8 warning: line 12, column 6 of test/dart_codegen/types/c.dart: [ClosureWrap] f3 ( (A) → A) will need to be wrapped with a closure of type (dynamic) → dynamic
9 f2(f3);
10 ^^
11 info: line 10, column 14 of test/dart_codegen/types/d.dart: [DownCast] f4("""hel lo""") (dynamic) will need runtime check to cast to type A 8 info: line 10, column 14 of test/dart_codegen/types/d.dart: [DownCast] f4("""hel lo""") (dynamic) will need runtime check to cast to type A
12 var x = f3(f4("""hello""")); 9 var x = f3(f4("""hello"""));
13 ^^^^^^^^^^^^^^^ 10 ^^^^^^^^^^^^^^^
14 warning: line 11, column 14 of test/dart_codegen/types/d.dart: [ClosureWrap] f4 ((dynamic) → dynamic) will need to be wrapped with a closure of type (A) → A 11 warning: line 11, column 14 of test/dart_codegen/types/d.dart: [ClosureWrap] f4 ((dynamic) → dynamic) will need to be wrapped with a closure of type (A) → A
15 var y = f1(f4); 12 var y = f1(f4);
16 ^^ 13 ^^
17 warning: line 12, column 14 of test/dart_codegen/types/d.dart: [ClosureWrap] f3 ((A) → A) will need to be wrapped with a closure of type (dynamic) → dynamic
18 var z = f2(f3);
19 ^^
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/d/d.dart ('k') | test/generated_sdk/lib/internal/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698