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

Implement String#[]= and MatchData#offset #537

Merged
merged 2 commits into from
Mar 23, 2022
Merged

Conversation

richardboehme
Copy link
Contributor

[#217]

@richardboehme richardboehme marked this pull request as draft March 20, 2022 23:27
@richardboehme
Copy link
Contributor Author

Hey @seven1m, can you figure out why those specs are failing? There seems to be a compilation error in one batch of specs related to symbols. I could fix this by adding .force_encoding(Encoding::UTF_8) in lib/natalie/compiler/pass4.rb.... I'm not sure how this is related to my changes. The only thing I can think of is that the combinations of specs that run in batch changed maybe?

@seven1m
Copy link
Member

seven1m commented Mar 21, 2022

Yeah I'll take a look. I will be removing the spec batching mechanism from the suite because I ran into a similar problem yesterday -- specs producing weird behavior when combined.

@seven1m
Copy link
Member

seven1m commented Mar 23, 2022

Looks like ungrouping the specs fixed it. Merge at will!

@richardboehme richardboehme marked this pull request as ready for review March 23, 2022 16:04
@richardboehme
Copy link
Contributor Author

Looks like ungrouping the specs fixed it. Merge at will!

Thank you!

@richardboehme richardboehme merged commit 32021bf into master Mar 23, 2022
@richardboehme richardboehme deleted the string-refeq branch March 23, 2022 16:05
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