Skip to content

Commit

Permalink
fixed?
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Jan 10, 2025
1 parent ad05b56 commit 2a83507
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compiler/structs.jou
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# TODO: delete this file, merge into others

import "stdlib/str.jou"
import "stdlib/io.jou"
import "stdlib/mem.jou"

import "./utils.jou"
import "./types.jou"
Expand Down Expand Up @@ -81,7 +83,7 @@ class Constant:
else:
assert False

def free(self) -> None:
def free(self) -> None:
if self->kind == ConstantKind::String:
free(self->str)

Expand Down

0 comments on commit 2a83507

Please sign in to comment.