diff --git a/vyper/semantics/analysis/module.py b/vyper/semantics/analysis/module.py index 1f785701b0..c9372f8f46 100644 --- a/vyper/semantics/analysis/module.py +++ b/vyper/semantics/analysis/module.py @@ -90,12 +90,6 @@ def __init__( if not derived_nodes: break - # attach temporary namespace with constants to the module for - # typechecking - _ns = Namespace() - _ns._constants = self.namespace._constants - module_node._metadata["namespace"] = _ns - while module_nodes: count = len(module_nodes) err_list = ExceptionList()