Skip to content

Commit

Permalink
replace path by ModuleT._id
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbubbles committed Nov 23, 2024
1 parent 949bb1d commit 1170e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/compiler/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def build_metadata_output(compiler_data: CompilerData) -> dict:
for fn_t in module_t.exposed_functions:
assert isinstance(fn_t.ast_def, vy_ast.FunctionDef)
for rif_t in fn_t.reachable_internal_functions:
sigs[rif_t.ast_def.module_node.path + ": " + rif_t.name] = rif_t
sigs[rif_t.ast_def.module_node._metadata["type"]._id + ": " + rif_t.name] = rif_t
sigs[fn_t.name] = fn_t

def _var_rec_dict(variable_record):
Expand Down

0 comments on commit 1170e27

Please sign in to comment.