Skip to content

Commit

Permalink
remmove line
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS committed Dec 27, 2023
1 parent 540b21f commit d465de0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion rivetc/src/prefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ def __init__(self, args: [str]):
self.mod_dir = path.dirname(path.abspath(self.input)) if path.isfile(
self.input
) else self.input
self.library_path.append(self.mod_dir)

def build_rivet_dir(self):
if not path.isdir(RIVET_DIR):
Expand Down
1 change: 1 addition & 0 deletions rivetc/src/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def walk_import_decl(self, decl):
continue
self.check_imported_symbol(symbol, decl.pos)
self.source_file.imported_symbols[symbol.name] = symbol
return
for import_info in decl.import_list:
if import_info.name == "self":
self.source_file.imported_symbols[decl.alias
Expand Down

0 comments on commit d465de0

Please sign in to comment.