Created
November 28, 2016 13:56
-
-
Save forki/6686be74a444fba75634d92fef26ad27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ConstraintSolverTypesNotInEqualityRelation(denv,t1,t2,m,m2,contextInfo) -> | |
let t1, t2, _cxs = NicePrint.minimalStringsOfTwoTypes denv t1 t2 | |
match contextInfo with | |
| ContextInfo.ElseBranchResult range when range = m -> | |
os.Append(FSComp.SR.elseBranchHasWrongType(t1,t2)) |> ignore | |
| _ -> os.Append(ConstraintSolverTypesNotInEqualityRelation2E().Format t1 t2) |> ignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment