Skip to content

Commit 2011051

Browse files
committed
Fix mistaken multiple import error
1 parent be49c81 commit 2011051

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vyper/semantics/analysis/imports.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,12 @@ class ImportAnalyzer:
8888
seen: OrderedSet[vy_ast.Module]
8989
_compiler_inputs: dict[CompilerInput, vy_ast.Module]
9090
toplevel_module: vy_ast.Module
91-
importedBuiltins: dict[str, vy_ast.VyperNode] = dict()
91+
importedBuiltins: dict[str, vy_ast.VyperNode]
9292

9393
def __init__(self, input_bundle: InputBundle, graph: _ImportGraph, module_ast: vy_ast.Module):
9494
self.input_bundle = input_bundle
9595
self.graph = graph
96+
self.importedBuiltins = {}
9697
self.toplevel_module = module_ast
9798
self._ast_of: dict[int, vy_ast.Module] = {}
9899

0 commit comments

Comments
 (0)