Skip to content

Commit

Permalink
test occur error report
Browse files Browse the repository at this point in the history
  • Loading branch information
butterunderflow committed Aug 24, 2024
1 parent 260d0d0 commit e622030
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/regular/typing_test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1964,4 +1964,11 @@ module L2 = (K: M)
6:27-7:27 Module Signature component S1 not exists in module struct

end
|}];
print_typed {|
let _ = fun x -> x x
|};
[%expect {|
2:32-2:32 internal error: occur check error
type variable '_t/1 occured in {'_t/1}
|}]

0 comments on commit e622030

Please sign in to comment.