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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
More support for Prism::RipperCompat is added.
Support for Ruby 2.7 has been added, and the minimum Ruby requirement has been lowered to 2.7.
Changed
The error for an invalid source encoding has a new :argument level to indicate it raises an argument error.
BeginNode nodes that are used when a class, singleton class, module, method definition, or block have an inline rescue/ensure/else now have their opening locations set to the beginning of the respective keyword.
Improved error messages for invalid characters.
Prism.parse_file and similar APIs will raise more appropriate errors when the file does not exist or cannot be mapped.
Correctly handle the recover parameter for Prism::Translation::Parser.