Earlopain a04555c8ab [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
2025-08-14 15:42:33 +00:00
..
2025-06-04 12:47:29 +09:00
2025-07-15 16:33:00 +00:00
2025-06-11 05:04:16 +00:00
2025-05-20 18:22:41 +09:00
2025-05-13 17:50:05 +00:00
2025-04-26 11:56:42 +00:00
2025-07-31 23:07:08 +09:00
2025-07-15 12:57:18 +02:00
2024-11-12 11:53:01 +09:00
2025-04-26 10:31:11 +09:00
2024-12-13 00:50:02 +00:00
2025-06-17 09:41:45 +00:00
2024-12-17 06:47:52 +00:00
2025-07-08 06:11:04 +00:00
2025-06-19 01:53:19 +00:00