Skip to content

Commit

Permalink
Semantic: qualified call stub
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanjermakov committed Apr 1, 2024
1 parent 8eb8d76 commit 2d69fc0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/semantic/expr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,12 @@ export const checkCall_ = (call: CallOp, operand: Operand, args: Expr[], ctx: Co
const closure = operand.type.operand
operand.type = checkResolvedClosureExpr(closure, ctx, operand, closureType)
break
case 'identifier':
// TODO
operand.type = unknownType
break
default:
unreachable()
unreachable(operand.type.operand.kind)
}
}
if (operand.type?.kind === 'unknown-type') {
Expand Down

0 comments on commit 2d69fc0

Please sign in to comment.