| Index: tests/compiler/dart2js/kernel/constructors_test.dart
|
| diff --git a/tests/compiler/dart2js/kernel/constructors_test.dart b/tests/compiler/dart2js/kernel/constructors_test.dart
|
| index ba38190007bc9453e3b42c892a9b7d3ae36fec57..2664910f2e276c899d1309e76201aede61d0380d 100644
|
| --- a/tests/compiler/dart2js/kernel/constructors_test.dart
|
| +++ b/tests/compiler/dart2js/kernel/constructors_test.dart
|
| @@ -46,6 +46,27 @@ main() => new Foo(number: 3);
|
| ''';
|
| return check(code, lookup: defaultConstructorFor('Foo'));
|
| });
|
| +
|
| + // TODO(efortuna): Kernel needs to have some additional constructor
|
| + // implementaion work before this is legitimately equivalent code to the
|
| + // original AST.
|
| +/* test('initialized field and constructor', () {
|
| + String code = '''
|
| +import 'dart:_foreign_helper' show JS, JS_EMBEDDED_GLOBAL;
|
| +import 'package:expect/expect.dart';
|
| +
|
| +
|
| +class Foo {
|
| + final value = JS('bool', '#()', JS_EMBEDDED_GLOBAL('', 'foo'));
|
| + Foo() {
|
| + print('hello world');
|
| + }
|
| +}
|
| +
|
| +main() => new Foo();
|
| +''';
|
| + return check(code, lookup: defaultConstructorFor('Foo'));
|
| + });*/
|
| }
|
|
|
| defaultConstructorFor(String className) => (Compiler compiler) {
|
|
|