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/codegen/expect/language/constructor_duplicate_initializers_test_none_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/constructor_duplicate_initializers_test_none_mult i', null, /* Imports */[
2 'dart_sdk'
3 ], function load__constructor_duplicate_initializers_test_none_multi(exports, da rt_sdk) {
4 'use strict';
5 const core = dart_sdk.core;
6 const dart = dart_sdk.dart;
7 const dartx = dart_sdk.dartx;
8 const constructor_duplicate_initializers_test_none_multi = Object.create(null) ;
9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
10 constructor_duplicate_initializers_test_none_multi.Class = class Class extends core.Object {
11 new(v) {
12 this.field_ = v;
13 }
14 field(field_) {
15 this.field_ = field_;
16 }
17 two_fields(field_) {
18 this.field_ = field_;
19 }
20 };
21 dart.defineNamedConstructor(constructor_duplicate_initializers_test_none_multi .Class, 'field');
22 dart.defineNamedConstructor(constructor_duplicate_initializers_test_none_multi .Class, 'two_fields');
23 dart.setSignature(constructor_duplicate_initializers_test_none_multi.Class, {
24 constructors: () => ({
25 new: dart.definiteFunctionType(constructor_duplicate_initializers_test_non e_multi.Class, [dart.dynamic]),
26 field: dart.definiteFunctionType(constructor_duplicate_initializers_test_n one_multi.Class, [dart.dynamic]),
27 two_fields: dart.definiteFunctionType(constructor_duplicate_initializers_t est_none_multi.Class, [dart.dynamic])
28 })
29 });
30 constructor_duplicate_initializers_test_none_multi.main = function() {
31 new constructor_duplicate_initializers_test_none_multi.Class(42);
32 new constructor_duplicate_initializers_test_none_multi.Class.field(42);
33 new constructor_duplicate_initializers_test_none_multi.Class.two_fields(42);
34 };
35 dart.fn(constructor_duplicate_initializers_test_none_multi.main, VoidTodynamic ());
36 // Exports:
37 exports.constructor_duplicate_initializers_test_none_multi = constructor_dupli cate_initializers_test_none_multi;
38 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698