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

Side by Side Diff: test/codegen/expect/language/external_test_24_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_24_multi', null, /* Imports */[
2 'dart_sdk'
3 ], function load__external_test_24_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_24_multi = Object.create(null);
9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
10 external_test_24_multi.Bar = class Bar extends core.Object {
11 new(val) {
12 }
13 };
14 dart.setSignature(external_test_24_multi.Bar, {
15 constructors: () => ({new: dart.definiteFunctionType(external_test_24_multi. Bar, [dart.dynamic])})
16 });
17 external_test_24_multi.Foo = class Foo extends core.Object {
18 f() {}
19 new() {
20 this.x = 0;
21 }
22 };
23 dart.defineNamedConstructor(external_test_24_multi.Foo, 'n24');
24 dart.setSignature(external_test_24_multi.Foo, {
25 constructors: () => ({
26 new: dart.definiteFunctionType(external_test_24_multi.Foo, []),
27 n24: dart.definiteFunctionType(external_test_24_multi.Foo, [dart.dynamic])
28 }),
29 methods: () => ({f: dart.definiteFunctionType(dart.dynamic, [])})
30 });
31 external_test_24_multi.main = function() {
32 let foo = new external_test_24_multi.Foo();
33 new external_test_24_multi.Foo.n24(1);
34 };
35 dart.fn(external_test_24_multi.main, VoidTodynamic());
36 // Exports:
37 exports.external_test_24_multi = external_test_24_multi;
38 });
OLDNEW
« no previous file with comments | « test/codegen/expect/language/external_test_23_multi.js ('k') | test/codegen/expect/language/external_test_25_multi.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698