Index: pkg/kernel/lib/canonical_name.dart |
diff --git a/pkg/kernel/lib/canonical_name.dart b/pkg/kernel/lib/canonical_name.dart |
index daddfc9e502a2a54db7edc52efcd2349b1ab0302..a56c482c23264d8f147c4f5d1f8c2d08833843f3 100644 |
--- a/pkg/kernel/lib/canonical_name.dart |
+++ b/pkg/kernel/lib/canonical_name.dart |
@@ -108,6 +108,10 @@ class CanonicalName { |
return getChild('@typedefs').getChild(typedef_.name); |
} |
+ void removeChild(String name) { |
+ _children?.remove(name); |
+ } |
+ |
void bindTo(Reference target) { |
if (reference == target) return; |
if (reference != null) { |