Skip to content

Commit

Permalink
v2: fix typo in checker.v (#20064)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear committed Dec 2, 2023
1 parent a017b53 commit c943d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v2/types/checker.v
Expand Up @@ -1765,7 +1765,7 @@ fn (mut c Checker) call_expr(expr ast.CallExpr) Type {
c.env.generic_types[lhs_expr.name()] << generic_type_map
}
} else if lhs_expr is ast.GenericArgs {
c.error_with_pos('cannot call non generic fuction with generic argument list',
c.error_with_pos('cannot call non generic function with generic argument list',
expr.pos)
}

Expand Down

0 comments on commit c943d9a

Please sign in to comment.