Skip to content

Commit

Permalink
compiler: fix code generation for implicit trait mapping of multi-ret…
Browse files Browse the repository at this point in the history
… assign statements
  • Loading branch information
mertcandav committed Sep 5, 2024
1 parent 60a87ff commit 49b28ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/julec/obj/cxx/scope.jule
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,7 @@ impl scopeCoder {
mut t2 := tup.Types[i].Trait()
self.oc.write(r)
self.oc.write(conv::Itoa(i))
self.oc.write(".map<")
identCoder.traitDecl(self.oc.Buf, t1)
self.oc.write(">(")
self.oc.write(".map(")
self.oc.pushAndWriteMaskMapper(t1, t2)
self.oc.write(")")
break
Expand Down

0 comments on commit 49b28ba

Please sign in to comment.