aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/dependency_resolver
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/dependency_resolver')
-rw-r--r--crates/shirabe/src/dependency_resolver/pool.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/shirabe/src/dependency_resolver/pool.rs b/crates/shirabe/src/dependency_resolver/pool.rs
index 708930c..91c3e31 100644
--- a/crates/shirabe/src/dependency_resolver/pool.rs
+++ b/crates/shirabe/src/dependency_resolver/pool.rs
@@ -336,9 +336,6 @@ impl Pool {
let replaces = candidate.get_replaces();
// aliases create multiple replaces/provides for one target so they can not use the shortcut below
- // TODO(phase-b): PHP uses isset($replaces[0])/isset($provides[0]) to detect numeric-indexed
- // lists; the Rust IndexMap is string-keyed, so this branch checks the "0" key. Confirm
- // semantics during Phase B review.
if replaces.contains_key("0") || provides.contains_key("0") {
for link in provides.values() {
if link.get_target() == name