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

Side by Side Diff: test/codegen/expect/language/interface_inherit_field_test.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/interface_inherit_field_test', null, /* Imports * /[
2 'dart_sdk'
3 ], function load__interface_inherit_field_test(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 interface_inherit_field_test = Object.create(null);
9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
10 interface_inherit_field_test.IA = class IA extends core.Object {
11 new() {
12 this.foo = null;
13 }
14 };
15 interface_inherit_field_test.IB = class IB extends core.Object {
16 new() {
17 this.foo = null;
18 }
19 };
20 interface_inherit_field_test.IB[dart.implements] = () => [interface_inherit_fi eld_test.IA];
21 const _f = Symbol('_f');
22 interface_inherit_field_test.B = class B extends core.Object {
23 new() {
24 this[_f] = 123;
25 }
26 get foo() {
27 return this[_f];
28 }
29 };
30 interface_inherit_field_test.B[dart.implements] = () => [interface_inherit_fie ld_test.IB];
31 interface_inherit_field_test.main = function() {
32 let b = new interface_inherit_field_test.B();
33 core.print(dart.str`b.foo = ${b.foo}`);
34 };
35 dart.fn(interface_inherit_field_test.main, VoidTodynamic());
36 // Exports:
37 exports.interface_inherit_field_test = interface_inherit_field_test;
38 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698