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

Side by Side Diff: test/codegen/expect/functions.js

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 | « lib/src/codegen/js_codegen.dart ('k') | test/codegen/expect/functions.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 var functions = dart.defineLibrary(functions, {});
2 var core = dart.import(core);
3 (function(exports, core) {
4 'use strict';
5 function bootstrap() {
6 return dart.setType([new Foo()], core.List$(Foo));
7 }
8 dart.fn(bootstrap, () => dart.functionType(core.List$(Foo), []));
9 class Foo extends core.Object {}
10 dart.setSignature(Foo, {});
11 function main() {
12 core.print(bootstrap()[core.$get](0));
13 }
14 dart.fn(main, dart.void, []);
15 // Exports:
16 exports.bootstrap = bootstrap;
17 exports.Foo = Foo;
18 exports.main = main;
19 })(functions, core);
OLDNEW
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | test/codegen/expect/functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698