mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 21:10:22 +00:00
[dart2js] Fix #50755
Bug: 50755 Change-Id: Icfd9349e2373c995255d3651c1f0c8f26c462cc6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276203 Auto-Submit: Stephen Adams <sra@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
This commit is contained in:
parent
caa14a5eea
commit
fdeb41d111
|
@ -403,7 +403,7 @@ class RecordType extends DartType {
|
||||||
final List<DartType> fields;
|
final List<DartType> fields;
|
||||||
|
|
||||||
static late final _emptyRecordType =
|
static late final _emptyRecordType =
|
||||||
RecordType._(RecordShape(0, const []), const []);
|
RecordType._allocate(RecordShape(0, const []), const []);
|
||||||
|
|
||||||
RecordType._allocate(this.shape, this.fields);
|
RecordType._allocate(this.shape, this.fields);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue