diff options
author | eileencodes <[email protected]> | 2023-12-05 11:34:20 -0500 |
---|---|---|
committer | git <[email protected]> | 2023-12-05 20:47:22 +0000 |
commit | a33632e1ca7af1e3ba34cff05643aa067561a8cc (patch) | |
tree | 2053f051f43d968167bdd8fe5ba0555751908aaf /lib/bundler/endpoint_specification.rb | |
parent | 82883dc8f2343913eb9df32fda6798b2f969dfee (diff) |
[ruby/prism] Fix defined with new line
It's possible to write the following and have it be valid Ruby:
```
defined?("foo"
)
```
But Prism wasn't taking the new line into account. This adds an
`accept1` for a `PM_TOKEN_NEWLINE` to account for this. I've also
updated the fixtures and snapshots to test this.
https://github.com/ruby/prism/commit/b87f8eedc6
Diffstat (limited to 'lib/bundler/endpoint_specification.rb')
0 files changed, 0 insertions, 0 deletions