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 enclosing positions #11892

Merged
merged 4 commits into from
Jan 20, 2025
Merged

Fix enclosing positions #11892

merged 4 commits into from
Jan 20, 2025

Conversation

kLabz
Copy link
Contributor

@kLabz kLabz commented Dec 17, 2024

Avoid reusing type / field positions in places where this could wrongly trigger some display mechanisms.

Also exposes haxe.macro.PositionTools.toZeroRange(pos) so that macros can point generated stuff at a type or field for example, without reusing the whole position (which can also impact our display services).

Extracted #11925 for now

@skial skial mentioned this pull request Jan 5, 2025
1 task
@kLabz kLabz force-pushed the fix/enclosing_positions branch from bbcfa43 to 5b9609b Compare January 16, 2025 13:21
@kLabz kLabz force-pushed the fix/enclosing_positions branch from 5b9609b to f378b00 Compare January 20, 2025 09:47
@kLabz kLabz marked this pull request as ready for review January 20, 2025 09:56
@kLabz kLabz merged commit bdecee2 into development Jan 20, 2025
116 of 117 checks passed
@kLabz kLabz deleted the fix/enclosing_positions branch January 21, 2025 07:27
kLabz added a commit that referenced this pull request Jan 21, 2025
@kLabz kLabz removed the test-needed label Jan 21, 2025
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