Skip to content

Commit

Permalink
Fix typehashing
Browse files Browse the repository at this point in the history
  • Loading branch information
vzarytovskii committed Oct 14, 2024
1 parent cc675be commit b6f209e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Compiler/Utilities/TypeHashing.fs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ module rec HashTypes =
| TyparConstraint.SimpleChoice(tys, _) -> tpHash @@ 12 @@ (tys |> hashListOrderIndependent (hashTType g))
| TyparConstraint.RequiresDefaultConstructor _ -> tpHash @@ 13
| TyparConstraint.NotSupportsNull(_) -> tpHash @@ 14
| TyparConstraint.AllowsRefStruct _ -> tpHash @@ 15

/// Hash type parameter constraints
let private hashConstraints (g: TcGlobals) cxs =
Expand Down

0 comments on commit b6f209e

Please sign in to comment.