| Index: test/codegen/expect/covariance.js
|
| diff --git a/test/codegen/expect/covariance.js b/test/codegen/expect/covariance.js
|
| index 14ba50ee46fed579eb124a1cdbd94b5415e45846..e26dee94850a17d1435d4a473a1ae2c603c56a4d 100644
|
| --- a/test/codegen/expect/covariance.js
|
| +++ b/test/codegen/expect/covariance.js
|
| @@ -9,7 +9,7 @@ dart_library.library('covariance', null, /* Imports */[
|
| const _t = Symbol('_t');
|
| covariance.Foo$ = dart.generic(T => {
|
| class Foo extends core.Object {
|
| - Foo() {
|
| + new() {
|
| this[_t] = null;
|
| }
|
| add(t) {
|
| @@ -30,8 +30,8 @@ dart_library.library('covariance', null, /* Imports */[
|
| });
|
| covariance.Foo = covariance.Foo$();
|
| covariance.Bar = class Bar extends covariance.Foo$(core.int) {
|
| - Bar() {
|
| - super.Foo();
|
| + new() {
|
| + super.new();
|
| }
|
| add(x) {
|
| core.print(`Bar.add got ${x}`);
|
|
|