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

Side by Side Diff: test/codegen/expect/language/external_test_20_multi.js

Issue 2128353002: Check in codegen test expectations. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 5 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
OLDNEW
(Empty)
1 dart_library.library('language/external_test_20_multi', null, /* Imports */[
2 'dart_sdk'
3 ], function load__external_test_20_multi(exports, dart_sdk) {
4 'use strict';
5 const core = dart_sdk.core;
6 const dart = dart_sdk.dart;
7 const dartx = dart_sdk.dartx;
8 const external_test_20_multi = Object.create(null);
9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
10 external_test_20_multi.Bar = class Bar extends core.Object {
11 new(val) {
12 }
13 };
14 dart.setSignature(external_test_20_multi.Bar, {
15 constructors: () => ({new: dart.definiteFunctionType(external_test_20_multi. Bar, [dart.dynamic])})
16 });
17 external_test_20_multi.Foo = class Foo extends core.Object {
18 f() {}
19 new() {
20 this.x = 0;
21 }
22 };
23 dart.defineNamedConstructor(external_test_20_multi.Foo, 'n20');
24 dart.setSignature(external_test_20_multi.Foo, {
25 constructors: () => ({
26 new: dart.definiteFunctionType(external_test_20_multi.Foo, []),
27 n20: dart.definiteFunctionType(external_test_20_multi.Foo, [dart.dynamic])
28 }),
29 methods: () => ({f: dart.definiteFunctionType(dart.dynamic, [])})
30 });
31 external_test_20_multi.main = function() {
32 let foo = new external_test_20_multi.Foo();
33 new external_test_20_multi.Foo.n20(1);
34 };
35 dart.fn(external_test_20_multi.main, VoidTodynamic());
36 // Exports:
37 exports.external_test_20_multi = external_test_20_multi;
38 });
OLDNEW
« no previous file with comments | « test/codegen/expect/language/external_test_16_multi.js ('k') | test/codegen/expect/language/external_test_21_multi.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698