(assumptions: unknown, variables: string[])
| 75 | } |
| 76 | |
| 77 | function guardError(assumptions: unknown, variables: string[]): string { |
| 78 | const r = compileGuards(assumptions, variables); |
| 79 | if (!('error' in r)) throw new Error('expected a guard-compilation error'); |
| 80 | return r.error; |
| 81 | } |
| 82 | |
| 83 | // --------------------------------------------------------------------------- |
| 84 | // wildcardization |
no test coverage detected