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 lua String with no-inline #11057

Merged
merged 4 commits into from
Mar 30, 2023
Merged

Conversation

RblSb
Copy link
Member

@RblSb RblSb commented Mar 29, 2023

no-inline fix seems complicated, so this change just makes unit.lua loc output 5% smaller, performance looks same.
UPD: I think no-inline is fixed
Fixes #9530
Also fixes #10136

UPD2: I found better PR about it, made it to patch only instances and write test. (thanks to @piotrklibert)
Also also closes #10242

@Simn
Copy link
Member

Simn commented Mar 29, 2023

Why static?

@skial skial mentioned this pull request Mar 30, 2023
1 task
@RblSb RblSb changed the title Hide lua String inlines Fix lua String with no-inline Mar 30, 2023
@Simn Simn added this to the Release 4.3 milestone Mar 30, 2023
@Simn
Copy link
Member

Simn commented Mar 30, 2023

I can't say I understand this String.prototype addition, but if this is what lua people do then I don't mind. CI is green and this closes 3 issues, so I'm happy to merge. Thanks!

@Simn Simn merged commit 341371d into HaxeFoundation:development Mar 30, 2023
@RblSb RblSb deleted the lua_string branch March 30, 2023 15:36
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.

[lua] String.split null-safety error [lua] String API is broken with --no-inline
2 participants