From e5d22e88c8f7fd1351ec81962abc2ecdf577da80 Mon Sep 17 00:00:00 2001 From: MarkZ Date: Tue, 2 Jul 2024 09:59:05 -0700 Subject: [PATCH 1/2] Fixing Set runtime test output names in DDC --- dwds/test/instances/common/instance_inspection_common.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwds/test/instances/common/instance_inspection_common.dart b/dwds/test/instances/common/instance_inspection_common.dart index 63fb49302..6475555ce 100644 --- a/dwds/test/instances/common/instance_inspection_common.dart +++ b/dwds/test/instances/common/instance_inspection_common.dart @@ -295,7 +295,7 @@ void runTests({ final instanceId = instanceRef.id!; expect( await getObject(instanceId), - matchSetInstance(type: '_HashSet'), + matchSetInstance(type: 'LinkedSet'), ); expect( From f33ef8e2186081b464c14916a0a3bf5bd3803493 Mon Sep 17 00:00:00 2001 From: MarkZ Date: Wed, 3 Jul 2024 10:10:10 -0700 Subject: [PATCH 2/2] Updating set impl enclosing library --- dwds/test/instances/common/test_inspector.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwds/test/instances/common/test_inspector.dart b/dwds/test/instances/common/test_inspector.dart index 7fce916bf..f14dd10fa 100644 --- a/dwds/test/instances/common/test_inspector.dart +++ b/dwds/test/instances/common/test_inspector.dart @@ -354,7 +354,7 @@ Matcher matchListClassRef(String type) => matchClassRef( Matcher matchMapClassRef(String type) => matchClassRef(name: type, libraryId: _dartJsHelperLibrary); Matcher matchSetClassRef(String type) => - matchClassRef(name: type, libraryId: _dartCollectionLibrary); + matchClassRef(name: type, libraryId: _dartJsHelperLibrary); Matcher matchClassRef({dynamic name, dynamic libraryId}) => isA() .having((e) => e.name, 'class ref name', name)