Skip to content

Implement hscriptPos to be fully built in#402

Closed
VirtuGuy wants to merge 1 commit into
FunkinCrew:experimentalfrom
VirtuGuy:remove-hscriptpos
Closed

Implement hscriptPos to be fully built in#402
VirtuGuy wants to merge 1 commit into
FunkinCrew:experimentalfrom
VirtuGuy:remove-hscriptpos

Conversation

@VirtuGuy
Copy link
Copy Markdown

@VirtuGuy VirtuGuy commented May 3, 2026

This PR removes the need for hscriptPos in order for line numbers to be used in script errors. hscriptPos doesn't need to be something you have to manually enable. In fact, you probably never want it disabled, because why wouldn't you want line numbers??

This should also put an end to PRs having to be made due to any compiling problems that occur because of hscriptPos being disabled.

@VirtuGuy VirtuGuy force-pushed the remove-hscriptpos branch from 81457ea to 6e1c52b Compare May 3, 2026 01:23
@Starexify
Copy link
Copy Markdown

Starexify commented May 4, 2026

hscriptPos should be kept, as it makes polymod not to be bloated and slow from traces, you dont always need the trace pos in some projects.

@VirtuGuy
Copy link
Copy Markdown
Author

image

@EliteMasterEric
Copy link
Copy Markdown
Member

Agreed tbh. It shouldn't error if it's disabled but also it should be opt-in since there's technically a performance impact.

@VirtuGuy VirtuGuy deleted the remove-hscriptpos branch May 28, 2026 09:57
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.

3 participants