Skip to content

Commit

Permalink
fix generated function spec for erlang
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Jun 4, 2024
1 parent 0dca9f4 commit d90c831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_src/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ def map_argtype_in_spec_erlang(classname: str, argtype: str, is_in: bool, decl:
return f'#{ty}' + '{}'
else:
print(f'warning: generate_spec: unknown argtype `{argtype}`, input_arg? {is_in}, class={classname}')
raise RuntimeError("erlang spec")
# raise RuntimeError("erlang spec")
return 'term()'

def map_argtype_in_spec_elixir(classname: str, argtype: str, is_in: bool, decl: list) -> str:
Expand Down

0 comments on commit d90c831

Please sign in to comment.