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