diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2025-08-14 17:05:54 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-08-14 15:42:33 +0000 |
| commit | a04555c8ab109355d00275d28d867fce06805c55 (patch) | |
| tree | 22690666c2cf4202322faa1c39b43a0373d69562 /test/ruby | |
| parent | a677220aba0c99f93f234a009bceeae063a96889 (diff) | |
[ruby/prism] Be more defensive in the parser translator lexer
Generally I have been good about safely accessing the tokens but failed
to properly guard against no tokens in places
where it could theoretically happen through invalid syntax.
I added a test case for one occurance, other changes are theoretical only.
https://github.com/ruby/prism/commit/4a3866af19
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
