Shared, Rust: Ensure that the constraints in satisfiesConstraintType are in relevantConstraint

This commit is contained in:
Simon Friis Vindum
2025-07-17 13:55:04 +02:00
parent 475d872ffb
commit bdcecdfc2c

View File

@@ -989,7 +989,7 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
path = prefix0.append(suffix)
)
or
tt.getTypeAt(TypePath::nil()) = constraint and
hasTypeConstraint(tt, constraint, constraint) and
t = tt.getTypeAt(path)
}
}