Skip to content

Commit b48fc74

Browse files
committed
wip
1 parent 853ef55 commit b48fc74

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Compiler/Utilities/TypeHashing.fs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -421,12 +421,8 @@ module StructuralUtilities =
421421
match typar.Solution with
422422
| Some ty -> yield! accumulateTType ty
423423
| None ->
424-
if typar.Rigidity <> TyparRigidity.Rigid then
424+
if typar.Rigidity <> TyparRigidity.Rigid || typar.Constraints.Length > 0 then
425425
TypeToken.Unsolved
426-
427-
// We don't emit details of the constraints, just the stamp to avoid collisions.
428-
if typar.Constraints.Length > 0 then
429-
TypeToken.Stamp typar.Stamp
430426
else
431427
TypeToken.UnconstrainedVar
432428
}

0 commit comments

Comments
 (0)