Resolve a reference to a function.
(&self, fn_: FuncRef, loc: Location)
| 387 | |
| 388 | // Resolve a reference to a function. |
| 389 | fn check_fn(&self, fn_: FuncRef, loc: Location) -> ParseResult<()> { |
| 390 | if !self.map.contains_fn(fn_) { |
| 391 | err!(loc, "undefined function {}", fn_) |
| 392 | } else { |
| 393 | Ok(()) |
| 394 | } |
| 395 | } |
| 396 | |
| 397 | // Allocate a new constant. |
| 398 | fn add_constant( |
no test coverage detected