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

Side by Side Diff: test/codegen_expected/language/regress_21016_test.js

Issue 2214263005: Mark recursive_inheritance_test as passing (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Bumped pubspec Created 4 years, 4 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
1 dart_library.library('language/regress_21016_test', null, /* Imports */[ 1 dart_library.library('language/regress_21016_test', null, /* Imports */[
2 'dart_sdk' 2 'dart_sdk'
3 ], function load__regress_21016_test(exports, dart_sdk) { 3 ], function load__regress_21016_test(exports, dart_sdk) {
4 'use strict'; 4 'use strict';
5 const core = dart_sdk.core; 5 const core = dart_sdk.core;
6 const dart = dart_sdk.dart; 6 const dart = dart_sdk.dart;
7 const dartx = dart_sdk.dartx; 7 const dartx = dart_sdk.dartx;
8 const regress_21016_test = Object.create(null); 8 const regress_21016_test = Object.create(null);
9 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun ctionType(dart.dynamic, [dart.dynamic])))(); 9 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun ctionType(dart.dynamic, [dart.dynamic])))();
10 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))(); 10 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
(...skipping 26 matching lines...) Expand all
37 methods: () => ({tearMe: dart.definiteFunctionType(dart.dynamic, [dart.dynam ic])}) 37 methods: () => ({tearMe: dart.definiteFunctionType(dart.dynamic, [dart.dynam ic])})
38 }); 38 });
39 dart.defineLazy(regress_21016_test, { 39 dart.defineLazy(regress_21016_test, {
40 get list() { 40 get list() {
41 return []; 41 return [];
42 }, 42 },
43 set list(_) {} 43 set list(_) {}
44 }); 44 });
45 regress_21016_test.main = function() { 45 regress_21016_test.main = function() {
46 let holder = new regress_21016_test.Holder(); 46 let holder = new regress_21016_test.Holder();
47 let hide = dart.dcall(dart.fn(X => X, dynamicTodynamic()), dart.bind(holder, 'tearMe')); 47 let hide = dart.fn(X => X, dynamicTodynamic())(dart.bind(holder, 'tearMe'));
48 dart.dcall(hide, new regress_21016_test.A()); 48 dart.dcall(hide, new regress_21016_test.A());
49 regress_21016_test.list[dartx.add](dart.bind(holder, 'tearMe')); 49 regress_21016_test.list[dartx.add](dart.bind(holder, 'tearMe'));
50 let x = regress_21016_test.list[dartx.get](0); 50 let x = regress_21016_test.list[dartx.get](0);
51 dart.dcall(x, new regress_21016_test.B()); 51 dart.dcall(x, new regress_21016_test.B());
52 }; 52 };
53 dart.fn(regress_21016_test.main, VoidTodynamic()); 53 dart.fn(regress_21016_test.main, VoidTodynamic());
54 // Exports: 54 // Exports:
55 exports.regress_21016_test = regress_21016_test; 55 exports.regress_21016_test = regress_21016_test;
56 }); 56 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698