Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Sep 16, 2024
1 parent 013c98f commit c6742ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/gen/c/comptime.v
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ fn (mut g Gen) comptime_call(mut node ast.ComptimeCall) {
g.write('(*(${g.base_type(m.return_type)}*)')
}
// TODO: check argument types
g.write('${util.no_dots(sym.name)}_${g.comptime.comptime_for_method}(')
g.write('${util.no_dots(sym.name)}_${g.comptime.comptime_for_method.name}(')

// try to see if we need to pass a pointer
if mut node.left is ast.Ident {
Expand Down

0 comments on commit c6742ec

Please sign in to comment.