You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fsharp/TypeRelations.fs
+15-28Lines changed: 15 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ open FSharp.Compiler.Infos
14
14
openFSharp.Compiler.PrettyNaming
15
15
16
16
/// Implements a :> b without coercion based on finalized (no type variable) types
17
-
// QUERY: This relation is approximate and not part of the language specification.
17
+
// Note: This relation is approximate and not part of the language specification.
18
18
//
19
19
// Some appropriate uses:
20
20
// patcompile.fs: IsDiscrimSubsumedBy (approximate warning for redundancy of 'isinst' patterns)
@@ -25,37 +25,24 @@ open FSharp.Compiler.PrettyNaming
25
25
let recTypeDefinitelySubsumesTypeNoCoercion ndeep g amap m ty1 ty2 =
26
26
if ndeep >100then error(InternalError("recursive class hierarchy (detected in TypeDefinitelySubsumesTypeNoCoercion), ty1 = "+(DebugPrint.showType ty1), m))
0 commit comments