This repository has been archived on 2024-01-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compilation/flap/tests/03-Typing/45-pattern-matching-09.bad.typing.hopix.human-readable
Adrien Guatto 6355f88c0f Jalon 3
2023-11-15 19:08:33 +01:00

5 lines
No EOL
171 B
Text

type p<`a, `b> = P(`a)
let x : int = match (P<p<int, int>, int>(P<int, int>(22, 44), 33)) {
P<p<int, int>, int>(P<int, int>((x : int), (y : int)), (_ : int)) -> x + y
}