summaryrefslogtreecommitdiff
path: root/test/prism/parse_test.rb
AgeCommit message (Collapse)Author
2023-12-01[ruby/prism] Fix parsing heredoc endsHaldun Bayhantopcu
https://github.com/ruby/prism/commit/aa8c702271
2023-11-29[ruby/prism] Convert start line to signed integersJean Boussier
Ruby allows for 0 or negative line start, this is often used with `eval` calls to get a correct offset when prefixing a snippet. e.g. ```ruby caller = caller_locations(1, 1).first class_eval <<~RUBY, caller.path, caller.line - 2 # frozen_string_literal: true def some_method #{caller_provided_code_snippet} end RUBY ``` https://github.com/ruby/prism/commit/0d14ed1452
2023-11-03[ruby/prism] Wire up options through the Ruby APIKevin Newton
https://github.com/ruby/prism/commit/8582d372a3
2023-10-16[ruby/prism] Additionally handle encoding comments in vim modeKevin Newton
https://github.com/ruby/prism/commit/bf9bdb9d82
2023-10-02`yield` cannot be placed outside methods even in blocksNobuyoshi Nakada
2023-09-28Syntax check of `yield` in the parserNobuyoshi Nakada
2023-09-27Include recently added parse_test code in renameKevin Newton
2023-09-27Sync to prism rename commitsKevin Newton
2023-09-27Rename YARP filepaths to prism filepathsKevin Newton