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

Side by Side Diff: test/codegen/expect/language/static_parameter_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/static_parameter_test_none_multi', null, /* Impor ts */[
2 'dart_sdk'
3 ], function load__static_parameter_test_none_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 static_parameter_test_none_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 static_parameter_test_none_multi.foo = function(x) {
12 };
13 dart.fn(static_parameter_test_none_multi.foo, dynamicTodynamic());
14 static_parameter_test_none_multi.C = class C extends core.Object {
15 bar(x) {}
16 static baz(x) {}
17 };
18 dart.setSignature(static_parameter_test_none_multi.C, {
19 methods: () => ({bar: dart.definiteFunctionType(dart.dynamic, [dart.dynamic] )}),
20 statics: () => ({baz: dart.definiteFunctionType(dart.dynamic, [dart.dynamic] )}),
21 names: ['baz']
22 });
23 static_parameter_test_none_multi.main = function() {
24 static_parameter_test_none_multi.foo(1);
25 new static_parameter_test_none_multi.C().bar(1);
26 static_parameter_test_none_multi.C.baz(1);
27 };
28 dart.fn(static_parameter_test_none_multi.main, VoidTodynamic());
29 // Exports:
30 exports.static_parameter_test_none_multi = static_parameter_test_none_multi;
31 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698