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

Make LineNumberRemapper stop trying to guess line numbers #1235

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

tranquillity-codes
Copy link

Usually the guesses were wrong, so instead let's not generate a LineNumberTable for lines that lack a mapping in the linemap. This makes the behavior on decompiler bugs/issues more predictable.

@tranquillity-codes tranquillity-codes force-pushed the dev/1.9-lnr-fix branch 2 times, most recently from 944ee89 to c9438c5 Compare December 18, 2024 18:06
Usually the guesses were wrong, so instead let's not generate a
LineNumberTable for lines that lack a mapping in the linemap. This makes
the behavior on decompiler bugs/issues more predictable.
@modmuss50 modmuss50 added this to the 1.10 milestone Dec 23, 2024
Copy link
Member

@modmuss50 modmuss50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes much more sense. 👍

@modmuss50 modmuss50 changed the base branch from dev/1.9 to exp/1.10 December 23, 2024 14:25
@modmuss50 modmuss50 merged commit 3fce262 into FabricMC:exp/1.10 Dec 23, 2024
89 checks passed
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.

2 participants