compiler: exhaust match

This commit is contained in:
sfja 2025-02-06 02:24:04 +01:00
parent f09858a41d
commit eafabc8afa

View File

@ -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();
}