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

Side by Side Diff: test/codegen/expect/language/compile_time_constant13_test_01_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/compile_time_constant13_test_01_multi', null, /* Imports */[
2 'dart_sdk'
3 ], function load__compile_time_constant13_test_01_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 compile_time_constant13_test_01_multi = Object.create(null);
9 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun ctionType(dart.dynamic, [dart.dynamic])))();
10 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
11 compile_time_constant13_test_01_multi.A = class A extends core.Object {
12 new() {
13 this.x = 'foo';
14 }
15 };
16 dart.setSignature(compile_time_constant13_test_01_multi.A, {
17 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant13 _test_01_multi.A, [])})
18 });
19 compile_time_constant13_test_01_multi.use = function(x) {
20 return x;
21 };
22 dart.fn(compile_time_constant13_test_01_multi.use, dynamicTodynamic());
23 compile_time_constant13_test_01_multi.a = dart.const(new compile_time_constant 13_test_01_multi.A());
24 compile_time_constant13_test_01_multi.main = function() {
25 compile_time_constant13_test_01_multi.use(compile_time_constant13_test_01_mu lti.a);
26 };
27 dart.fn(compile_time_constant13_test_01_multi.main, VoidTodynamic());
28 // Exports:
29 exports.compile_time_constant13_test_01_multi = compile_time_constant13_test_0 1_multi;
30 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698