Skip to content

Commit 51ca214

Browse files
joshualittcommit-bot@chromium.org
authored andcommitted
[dart2js] Fix finalization bug in namer_names.dart
Change-Id: I8ad37e67bfee2b8fb022fcffedee74c4c6b19b6d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192043 Reviewed-by: Stephen Adams <[email protected]> Commit-Queue: Joshua Litt <[email protected]>
1 parent 6172458 commit 51ca214

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/compiler/lib/src/js_backend/namer_names.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ class CompoundName extends _NamerName implements jsAst.AstContainer {
145145

146146
CompoundName.from(List<jsAst.Name> parts) : this(<_NamerName>[...parts]);
147147

148+
@override
149+
bool get isFinalized => _parts.every((name) => name.isFinalized);
150+
148151
@override
149152
String get name {
150153
if (_cachedName == null) {

0 commit comments

Comments
 (0)