We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853ef55 commit b48fc74Copy full SHA for b48fc74
src/Compiler/Utilities/TypeHashing.fs
@@ -421,12 +421,8 @@ module StructuralUtilities =
421
match typar.Solution with
422
| Some ty -> yield! accumulateTType ty
423
| None ->
424
- if typar.Rigidity <> TyparRigidity.Rigid then
+ if typar.Rigidity <> TyparRigidity.Rigid || typar.Constraints.Length > 0 then
425
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
430
else
431
TypeToken.UnconstrainedVar
432
}
0 commit comments