Skip to content

Commit 075d37a

Browse files
committed
cleanup
1 parent 915027e commit 075d37a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Compiler/Checking/TypeRelations.fs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ type CanCoerce =
2929
type TTypeCacheKey =
3030
| TTypeCacheKey of TypeStructure * TypeStructure * CanCoerce
3131
static member TryGetFromStrippedTypes(ty1, ty2, canCoerce) =
32-
match ty1, ty2 with
33-
| TType_measure _, TType_measure _
34-
| TType_var _, _ | _, TType_var _ ->
35-
ValueNone
36-
| _ ->
3732
let t1, t2 = getTypeStructure ty1, getTypeStructure ty2
3833
if t1.IsUnsolved || t2.IsUnsolved then
3934
ValueNone

0 commit comments

Comments
 (0)