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

Side by Side Diff: test/codegen/functions.dart

Issue 1143253003: Check whether type parameters are loaded before emitting (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Handle typedef case as well Created 5 years, 7 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/functions.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 List<Foo> bootstrap() {
2 return <Foo>[new Foo()];
3 }
4
5 typedef B A2B<A, B>(A x);
6
7 A2B<Foo, Foo> id(A2B<Foo, Foo> f) => f;
8
9 class Foo {
10 }
11
12 void main() {
13 print(bootstrap()[0]);
14 }
OLDNEW
« no previous file with comments | « test/codegen/expect/functions.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698