| Index: test/codegen/expect/fieldtest/fieldtest.js
|
| diff --git a/test/codegen/expect/fieldtest/fieldtest.js b/test/codegen/expect/fieldtest/fieldtest.js
|
| deleted file mode 100644
|
| index 45cf4355334202bacc7415410ff488dcd26e53d1..0000000000000000000000000000000000000000
|
| --- a/test/codegen/expect/fieldtest/fieldtest.js
|
| +++ /dev/null
|
| @@ -1,74 +0,0 @@
|
| -var fieldtest;
|
| -(function(exports) {
|
| - 'use strict';
|
| - class A extends dart.Object {
|
| - A() {
|
| - this.x = 42;
|
| - }
|
| - }
|
| - let B$ = dart.generic(function(T) {
|
| - class B extends dart.Object {
|
| - B() {
|
| - this.x = dart.as(null, core.int);
|
| - this.y = null;
|
| - this.z = dart.as(null, T);
|
| - }
|
| - }
|
| - return B;
|
| - });
|
| - let B = B$(dynamic);
|
| - // Function foo: (A) → int
|
| - function foo(a) {
|
| - core.print(a.x);
|
| - return a.x;
|
| - }
|
| - // Function bar: (dynamic) → int
|
| - function bar(a) {
|
| - core.print(dart.dload(a, 'x'));
|
| - return dart.as(dart.dload(a, 'x'), core.int);
|
| - }
|
| - // Function baz: (A) → dynamic
|
| - function baz(a) {
|
| - return a.x;
|
| - }
|
| - // Function compute: () → int
|
| - function compute() {
|
| - return 123;
|
| - }
|
| - dart.defineLazyProperties(exports, {
|
| - get y() {
|
| - return compute() + 444;
|
| - },
|
| - set y() {}
|
| - });
|
| - dart.copyProperties(exports, {
|
| - get q() {
|
| - return core.String['+'](core.String['+']('life, ', 'the universe '), 'and everything');
|
| - },
|
| - get z() {
|
| - return 42;
|
| - },
|
| - set z(value) {
|
| - exports.y = dart.as(value, core.int);
|
| - }
|
| - });
|
| - // Function main: () → void
|
| - function main() {
|
| - let a = new A();
|
| - foo(a);
|
| - bar(a);
|
| - core.print(baz(a));
|
| - }
|
| - // Exports:
|
| - exports.A = A;
|
| - exports.B = B;
|
| - exports.B$ = B$;
|
| - exports.foo = foo;
|
| - exports.bar = bar;
|
| - exports.baz = baz;
|
| - exports.compute = compute;
|
| - exports.q = q;
|
| - exports.z = z;
|
| - exports.z = z;
|
| - exports.main = main;
|
| -})(fieldtest || (fieldtest = {}));
|
|
|