is_constant should be #if
This commit is contained in:
parent
c42131d90b
commit
bcabcb1b87
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ with :: (old: $T, $new: Code, location := #caller_location) -> T
|
||||||
}
|
}
|
||||||
|
|
||||||
receiver := "old";
|
receiver := "old";
|
||||||
if is_constant(old) {
|
#if is_constant(old) {
|
||||||
receiver = "copy";
|
receiver = "copy";
|
||||||
basic.print_to_builder(*b, "% := old;\n", receiver);
|
basic.print_to_builder(*b, "% := old;\n", receiver);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue