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

fix: ensure line end is at least line #60

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

P403n1x87
Copy link
Owner

A bug in the MOJO generation for Python <= 3.11 from Austin caused the heat map to be wrongly visualised in the extension. That is due to Austin setting the line end to the first line of the function when it should be 0. We make sure that the line end is always at least line when trying to visualise heat maps and line stats in the editor to add support for the versions of Austin with the bug.

A bug in the MOJO generation for Python <= 3.11 from Austin caused the
heat map to be wrongly visualised in the extension. That is due to
Austin setting the line end to the first line of the function when it
should be 0. We make sure that the line end is always at least line
when trying to visualise heat maps and line stats in the editor to add
support for the versions of Austin with the bug.
@P403n1x87 P403n1x87 self-assigned this Mar 16, 2024
@P403n1x87 P403n1x87 merged commit 4028fad into main Mar 16, 2024
1 of 3 checks passed
@P403n1x87 P403n1x87 deleted the fix/ensure-line-end-greater-than-line branch March 16, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant