Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Oct 13, 2024
1 parent da3112e commit 7556015
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vlib/v/fmt/fmt.v
Original file line number Diff line number Diff line change
Expand Up @@ -2126,6 +2126,9 @@ fn (mut f Fmt) write_generic_call_if_require(node ast.CallExpr) {
} else if tsym.language == .js && !tsym.name.starts_with('JS.') {
name = 'JS.' + name
}
if tsym.language == .c {
name = 'C.' + name
}
f.write(name)
f.mark_types_import_as_used(concrete_type)
if i != node.concrete_types.len - 1 {
Expand Down

0 comments on commit 7556015

Please sign in to comment.