[dart:html] Change late finals to external getters

Late final fields in the JS classes in js_typed_interop tests are
changed to external getters instead.

Change-Id: I5ed17e18b5fc59bd7267ac5f8ebda649c6fb21e5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/142722
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
This commit is contained in:
Srujan Gaddam 2020-04-07 18:44:06 +00:00 committed by commit-bot@chromium.org
parent 49f6a49056
commit 8690bb5653
2 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@ import 'package:expect/expect.dart';
@JS()
@anonymous
class C {
late final foo;
external get foo;
external factory C({required foo});
}
@ -20,7 +20,7 @@ class C {
@JS()
@anonymous
class D {
late final foo;
external get foo;
external factory D({required foo});
}

View file

@ -19,7 +19,7 @@ class A {
@JS()
@anonymous
class C {
late final foo;
external get foo;
external factory C({required foo});
}
@ -27,7 +27,7 @@ class C {
@JS()
@anonymous
class D {
late final foo;
external get foo;
external factory D({required foo});
}