(ast)
| 572 | } |
| 573 | |
| 574 | getCheckVariableType(ast) { |
| 575 | const type = this.getVariableType(ast); |
| 576 | if (!type) { |
| 577 | throw this.astErrorOutput(`${ast.type} is not defined`, ast); |
| 578 | } |
| 579 | return type; |
| 580 | } |
| 581 | |
| 582 | inferArgumentTypesIfNeeded(functionName, args) { |
| 583 | // ensure arguments are filled in, so when we lookup return type, we already can infer it |
no test coverage detected