Commit graph

12 commits

Author SHA1 Message Date
Kevin Newton
641f15b1c6 [ruby/prism] Mark Prism as ractor-safe
c02429765b
2025-03-19 21:11:57 +00:00
Kevin Newton
b5ecb03ae4 [ruby/prism] Do not warn for unused variables on negative lines
Fixes [Bug #20788]

27e91f21af
2024-10-10 15:13:10 +00:00
Kevin Newton
77521afac1 [PRISM] Do not warn ambiguous ampersand when symbol literal
Fixes [Bug #20735]
2024-09-13 14:09:02 -04:00
Kevin Newton
9afc6a981d [PRISM] Only parse shebang on main script
Fixes [Bug #20730]
2024-09-13 12:51:53 -04:00
Kevin Newton
d42d19059d [PRISM] Allow case/when to be indented with no warning
Fixes [Bug #20731]
2024-09-13 12:51:36 -04:00
Kevin Newton
f0dcbbe9b9 [ruby/prism] Reverse-sync numbered reference range handling
a2f57ef6e3
2024-09-13 13:17:56 +00:00
Kevin Newton
15135030e5 [ruby/prism] Do not warn \r in shebang on windows
e8c862ca1f
2024-09-12 15:50:34 +00:00
Alexander Momchilov
2fbaff5351 [ruby/prism] Fix warning when #! ends with carriage return
5753fb6260
2024-08-27 16:46:44 +00:00
Kevin Newton
2effa98b6f [ruby/prism] Implement mismatched indentation warning
5d5bf92be8
2024-07-22 18:57:10 +00:00
Kevin Newton
aa473489a2 [ruby/prism] Various cleanup for initializers and typechecks
86cf82794a
2024-07-11 14:25:54 -04:00
Kevin Newton
678dd769e5 [ruby/prism] Reconfigure error tests
fb7e1ebb7f
2024-07-11 14:25:54 -04:00
Kevin Newton
72452f4387 [ruby/prism] Tests overhaul
6f886be0a4
2024-05-30 15:18:20 -04:00
Renamed from test/prism/warnings_test.rb (Browse further)