Skip to content

Commit

Permalink
compiler: use structure to generate code for expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Feb 5, 2024
1 parent b184355 commit 50df78d
Show file tree
Hide file tree
Showing 6 changed files with 1,302 additions and 1,288 deletions.
2 changes: 1 addition & 1 deletion src/julec/obj/cxx/derive.jule
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ impl DeriveCoder {
ret obj
}

static fn get_derive_fn_def_clone(&s: &Struct): str {
static fn fn_def_clone(&s: &Struct): str {
let mut obj = TypeCoder.from_struct(s)
obj += " " + obj
obj += "::clone(void) const "
Expand Down
Loading

0 comments on commit 50df78d

Please sign in to comment.