Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pc_pos_map for small methods is empty #3200

Closed
bout3fiddy opened this issue Dec 17, 2022 · 0 comments · Fixed by #3202
Closed

pc_pos_map for small methods is empty #3200

bout3fiddy opened this issue Dec 17, 2022 · 0 comments · Fixed by #3202
Labels
bug - integration a bug affecting downstream tooling

Comments

@bout3fiddy
Copy link
Contributor

Version Information

  • vyper Version (output of vyper --version): 0.3.7
  • OS: osx
  • Python Version (output of python --version): 3.10.4

Bug

(vyper) ~/vyper $ cat tmp/baz.vy 

@external
def foo():
    pass

(vyper) ~/vyper $ vyc -f source_map tmp/baz.vy 

{"breakpoints": [], "error_map": {"51": "fallback function"}, "pc_breakpoints": [], "pc_jump_map": {"0": "-", "7": "-", "11": "-", "12": "-", "23": "-", "34": "-", "42": "-", "44": "-", "46": "-", "52": "-"}, "pc_pos_map": {}, "pc_pos_map_compressed": "-1:-1:0:-;;;;:::-;;:::-;:::-;;;;;;;:::-;;;;;:::-;;;;;:::-;;:::-;;:::-;;;;:::-;;;"}

pc_pos_map should not be empty.

@charles-cooper charles-cooper added the bug - integration a bug affecting downstream tooling label Dec 17, 2022
@charles-cooper charles-cooper changed the title ps_pos_map for small methods is empty pc_pos_map for small methods is empty Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug - integration a bug affecting downstream tooling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants