Skip to content

Commit

Permalink
update testcase to reflect changes in ocaml#9584
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamkumar13 committed Mar 24, 2021
1 parent abbff11 commit 6c9adac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/tests/typing-gadts/principality-and-gadts.ml
Expand Up @@ -404,7 +404,7 @@ val foo : string foo -> string = <fun>
Line 3, characters 29-34:
3 | | { x = (x : string); eq = Refl3 } -> x
^^^^^
Warning 18 [not-principal]: typing this pattern requires considering M.t and string as equal.
Warning 18 [not-principal]: typing this pattern requires considering M.t and N.t as equal.
But the knowledge of these types is not principal.
val foo : string foo -> string = <fun>
|}]
Expand Down

0 comments on commit 6c9adac

Please sign in to comment.