Open amiel opened 1 year ago
This is partially fixed in Sord 5.0.1, but 5.0.1 and later still have a restriction to only allow Parlour v5, and Ruby 3.2 support there was only added in Parlour 8.1, so using Sord as a Parlour plugin is still broken as a result.
Describe the bug
Ruby 3.2 removes
File.exists?
.File.exist?
should be used instead.To Reproduce
Run
sord defs.rbs
with ruby 3.2.Expected behavior
I expected no exception.
Actual behavior
I get the following error:
Additional information
File.exists?
was removed here: https://github.com/ruby/ruby/commit/bf97415c02b11a8949f715431aca9eeb6311add2.I haven't provided a ton of extra detail in reproduction steps because I believe this is a straight-forward case. Please let me know if it's not so straight-forward and I can provide more specific information.