Hide builtins from compilation output
This commit is contained in:
parent
9dda964aca
commit
fbcbe0215a
1
ir.py
1
ir.py
|
@ -34,6 +34,7 @@ class ReplHole:
|
||||||
return '\n'.join(
|
return '\n'.join(
|
||||||
f'const {var_name} = ({var_expr.codegen()});'
|
f'const {var_name} = ({var_expr.codegen()});'
|
||||||
for (var_name, var_expr) in self.val_bindings
|
for (var_name, var_expr) in self.val_bindings
|
||||||
|
if var_name not in types_.BUILTINS_CONTEXT
|
||||||
)
|
)
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
|
|
Loading…
Reference in a new issue