Fix sync for syntax_suggest
syntax_suggest
It is a bit special in that is uses spec for tests. Since https://github.com/ruby/ruby/pull/15015 those did not get synced anymore.
spec
This fixes the mapping to what is was before and pulls in missing changes
[ruby/syntax_suggest] Rename lex to token where appropriate
I had a bit of trouble following what is going on. Lexing produces tokens, this renames to reflect that.
https://github.com/ruby/syntax_suggest/commit/d3386ab6f4
Fix "attrest" typo (#16672)
[ruby/syntax_suggest] Fix typo for %I delimiter check
Also add tests for the other types which currently don't have one
https://github.com/ruby/syntax_suggest/commit/db2dca2def
[ruby/syntax_suggest] Remove now unnecessary core_ext fallback
core_ext
https://github.com/ruby/syntax_suggest/commit/c6bd4b53e6
[ruby/syntax_suggest] Remove workaround for ripper not lexing the entire source
Maybe ripper fixed it since then. But prism also doesn't have this problem.
https://github.com/ruby/syntax_suggest/commit/8bc383b2a4
[ruby/syntax_suggest] Prism is always present on Ruby 3.3
Allows to remove some compatibility code with ripper
https://github.com/ruby/syntax_suggest/commit/3f2e9a7657
[ruby/syntax_suggest] Raise minimum supported ruby version to 3.3
I want to start porting this to prism without the translation layer.
https://github.com/ruby/syntax_suggest/commit/540d4840ab
[DOC] Doc for File::Stat
Allow sharing middlesubstring if the terminator is present
Sharing middle substrings have been behind a compilation flags for a very long time, and it's unclear if we'll ever make it the default.
However, we can still share middle substrings without breaking the...
View all revisions | View revisions
Also available in: Atom