Skip to content

Commit 5f86502

Browse files
committed
wip
1 parent ad681fa commit 5f86502

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Compiler/Utilities/TypeHashing.fs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,11 @@ module StructuralUtilities =
419419
seq {
420420
match typar.Solution with
421421
| Some ty -> yield! accumulateTType ty
422-
| None -> TypeToken.Unsolved
422+
| None ->
423+
TypeToken.Stamp typar.Stamp
424+
425+
if typar.Rigidity = TyparRigidity.Flexible then
426+
TypeToken.Unsolved
423427
}
424428

425429
and private accumulateTType (ty: TType) =

0 commit comments

Comments
 (0)