mirror of
https://github.com/anoma/juvix.git
synced 2024-12-15 01:52:11 +03:00
3fbc9c7c55
Closes #1644 #1635
19 lines
199 B
Plaintext
19 lines
199 B
Plaintext
-- no matching case branch
|
|
|
|
type list {
|
|
nil : list;
|
|
cons : * -> list -> list;
|
|
}
|
|
|
|
function f(list) {
|
|
push arg[0];
|
|
case list {
|
|
cons: ret
|
|
};
|
|
}
|
|
|
|
function main() {
|
|
alloc nil;
|
|
tcall f;
|
|
}
|