-
Notifications
You must be signed in to change notification settings - Fork 56
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
MatchData#end returns invalid offset when called within evalAsync #555
Open
palkan opened this issue
Nov 12, 2024
· 5 comments
· May be fixed by palkan/rails-on-wasm-playground#7
Open
MatchData#end returns invalid offset when called within evalAsync #555
palkan opened this issue
Nov 12, 2024
· 5 comments
· May be fixed by palkan/rails-on-wasm-playground#7
Comments
Good news: the |
I'll bisect which nightly head version fixed the issue once I'll get a stable internet connection. |
This also crashes
|
Okay, I found the fix 😁—ruby/ruby@0d4de0f:
|
I'm sorry about totally forgetting my fix in January... I opened backport PRs for 3.2 and 3.3: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stackblitz reproduction: https://stackblitz.com/edit/ruby-wasm-demo-78s71k?file=index.html
MatchData#end returns incorrect match offset when used in async context:
The text was updated successfully, but these errors were encountered: