| 311 | } |
| 312 | |
| 313 | Var Validator::GetFuncTypeIndex(const Location& default_loc, |
| 314 | const FuncDeclaration& decl) { |
| 315 | if (decl.has_func_type) { |
| 316 | return decl.type_var; |
| 317 | } |
| 318 | return Var(current_module_->GetFuncTypeIndex(decl), default_loc); |
| 319 | } |
| 320 | |
| 321 | Result Validator::OnBinaryExpr(BinaryExpr* expr) { |
| 322 | result_ |= validator_.OnBinary(expr->loc, expr->opcode); |
no test coverage detected