You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The long-term goal is to deprecate ripper: https://bugs.ruby-lang.org/issues/21827
So, this starts using prism to parse. Prism already knows if a comment is preceeded by code via `trailing?`, so that makes the `RB` case a bit simpler.
Ripper is still used when running as ruby 3.2 because prism can't parse 3.2 syntax.
When runtime support for 3.2 is dropped, the fallback code can be dropped as well.
0 commit comments