Skip to content

Commit

Permalink
compiler: fix code generation for the built-in new function
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Sep 8, 2024
1 parent 9ac33cf commit ac3d275
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/julec/obj/cxx/expr.jule
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,8 @@ impl exprCoder {
self.oc.write(">(")
if m.Init != nil {
self.possibleRefExpr(m.Init)
} else {
self.initExpr(m.Kind)
}
self.oc.write(")")
}
Expand Down

0 comments on commit ac3d275

Please sign in to comment.