Skip to content

Commit e68ab02

Browse files
committed
cleanup: remove old builtin raise approach
1 parent af14895 commit e68ab02

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

jac/jaclang/compiler/passes/main/sym_tab_build_pass.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,6 @@ def enter_module(self, node: ast.Module) -> None:
5151
"""
5252
self.push_scope(node.name, node)
5353
self.sync_node_to_scope(node)
54-
# for obj in dir(builtins):
55-
# builtin = ast.Name(
56-
# file_path=node.loc.mod_path,
57-
# name=Tok.NAME,
58-
# value=str(obj),
59-
# line=0,
60-
# end_line=0,
61-
# col_start=0,
62-
# col_end=0,
63-
# pos_start=0,
64-
# pos_end=0,
65-
# )
66-
# self.sync_node_to_scope(builtin)
67-
# builtin.sym_tab.def_insert(builtin)
68-
# self.def_insert(ast.Name.gen_stub_from_node(node.name, "root"))
6954

7055
def exit_module(self, node: ast.Module) -> None:
7156
"""Sub objects.

0 commit comments

Comments
 (0)