Skip to content

Commit 54caf19

Browse files
authoredNov 3, 2023
Remove dead code (#2129)
The key being removed could not exist in the map as it is not even the same type than keys.
1 parent 89dac15 commit 54caf19

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎lib/src/extend/extension_store.dart

-5
Original file line numberDiff line numberDiff line change
@@ -355,11 +355,6 @@ class ExtensionStore {
355355
}
356356
}
357357
}
358-
359-
// If [selectors] doesn't contain [extension.extender], for example if it
360-
// was replaced due to :not() expansion, we must get rid of the old
361-
// version.
362-
if (!containsExtension) sources.remove(extension.extender);
363358
}
364359

365360
return additionalExtensions;

0 commit comments

Comments
 (0)
Please sign in to comment.