mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-28 00:34:06 +02:00
compiler: exhaust match
This commit is contained in:
parent
f09858a41d
commit
eafabc8afa
@ -225,8 +225,16 @@ export class Checker {
|
|||||||
switch (k.tag) {
|
switch (k.tag) {
|
||||||
case "error":
|
case "error":
|
||||||
return todo();
|
return todo();
|
||||||
case "bind":
|
case "bind": {
|
||||||
|
switch (patRes.kind.tag) {
|
||||||
|
case "fn_param":
|
||||||
|
return todo();
|
||||||
|
case "let":
|
||||||
|
return todo();
|
||||||
|
}
|
||||||
|
exhausted(patRes.kind);
|
||||||
return todo();
|
return todo();
|
||||||
|
}
|
||||||
case "path":
|
case "path":
|
||||||
return todo();
|
return todo();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user