ruby/test/prism/fixtures
2025-08-05 13:58:09 -04:00
..
seattlerb [ruby/prism] Update seattlerb tests 2024-06-03 20:57:51 +00:00
unparser [ruby/prism] Fix a token incompatibility for Prism::Translation::Parser::Lexer 2024-09-07 22:36:38 +00:00
whitequark [ruby/prism] Import code samples for Ruby 3.3 from the parser gem 2025-01-11 19:09:05 -05:00
alias.txt
arithmetic.txt
arrays.txt [PRISM] Resync 2024-03-18 09:58:53 -04:00
begin_ensure.txt
begin_rescue.txt [ruby/prism] Fix parser translator rescue location with semicolon body 2025-03-18 13:36:53 -04:00
blocks.txt
boolean_operators.txt
booleans.txt
break.txt [ruby/prism] Allow block exits in loop predicates 2024-06-10 13:42:40 +00:00
case.txt [ruby/prism] Change binding power for modifiers in case-in nodes 2024-01-26 18:32:02 +00:00
case_in_hash_key.txt [ruby/prism] Ensure context terminators terminate expressions 2025-08-05 13:58:09 -04:00
classes.txt
command_method_call.txt [ruby/prism] Add test cases 2023-12-05 15:16:42 +00:00
comment_single.txt [ruby/prism] Fix parser translator tokens for comment-only file 2025-01-12 18:34:06 +00:00
comments.txt
constants.txt
dash_heredocs.txt
defined.txt [ruby/prism] Accept a newline after the defined? keyword 2025-03-30 13:22:41 -04:00
dos_endings.txt
dstring.txt [ruby/prism] Add a multiple statements flag to parentheses 2025-03-18 13:36:53 -04:00
dsym_str.txt [ruby/prism] Fix an incompatibility with the parser translator 2025-01-11 19:09:05 -05:00
embdoc_no_newline_at_end.txt
emoji_method_calls.txt [ruby/prism] Extract snippet into its own file and skip in TruffleRuby 2024-01-24 20:32:02 +00:00
encoding_binary.txt [ruby/prism] Fix binary encoding for the parser translator 2025-01-12 00:49:54 +00:00
encoding_euc_jp.txt [ruby/prism] Fix binary encoding for the parser translator 2025-01-12 00:49:54 +00:00
endless_methods.txt [ruby/prism] Allow command calls in endless method bodies within assignments 2025-07-29 17:18:41 +00:00
endless_range_in_conditional.txt
for.txt
global_variables.txt
hashes.txt [ruby/prism] Correct the "ambiguous first argument" condition 2024-01-16 15:51:09 +00:00
heredoc.txt [ruby/prism] Fix a token incompatibility for Prism::Translation::Parser 2024-03-08 19:07:53 +00:00
heredoc_with_carriage_returns.txt [ruby/prism] Fix a token incompatibility for Prism::Translation::Parser 2024-03-08 19:07:53 +00:00
heredoc_with_comment.txt [ruby/prism] Fix comments after HEREDOCs again. 2023-12-01 15:17:20 +00:00
heredoc_with_escaped_newline_at_start.txt
heredoc_with_trailing_newline.txt
heredocs_leading_whitespace.txt [ruby/prism] Fix token incompatibility for Prism::Translation::Parser::Lexer 2024-03-16 17:55:38 +00:00
heredocs_nested.txt [ruby/prism] fix: nested heredoc dedentation use-after-free 2023-11-14 14:11:55 +00:00
heredocs_with_fake_newlines.txt [ruby/prism] Further refine string handling in the parser translator 2025-03-18 13:36:53 -04:00
heredocs_with_ignored_newlines.txt
heredocs_with_ignored_newlines_and_non_empty.txt
if.txt [ruby/prism] Simplify locals test now that all fixtures are valid 2024-04-08 16:54:25 +00:00
indented_file_end.txt
integer_operations.txt
it.txt [ruby/prism] RubyParser translation for stabby lambdas with it 2025-08-01 16:57:17 +00:00
it_assignment.txt [ruby/prism] Make it = it assign nil to match parse.y behavior [Bug #21139] 2025-08-05 13:58:09 -04:00
it_indirect_writes.txt [ruby/prism] Fix up it indirect writes 2025-02-14 16:49:52 +00:00
it_read_and_assignment.txt [ruby/prism] Add it read and assignment test 2025-08-05 13:58:09 -04:00
keyword_method_names.txt [Bug #21026] no singleton method on pseudo variable literal 2025-03-20 17:32:26 +09:00
keywords.txt [ruby/prism] Update fixtures to be all valid Ruby 2024-04-03 17:34:12 -04:00
lambda.txt [ruby/prism] Fix parser translator ast when using anonymous forwarding in blocks/lambda 2025-01-11 19:09:05 -05:00
method_calls.txt [ruby/prism] Add tests 2024-01-26 18:32:31 +00:00
methods.txt [ruby/prism] Fix parser translator ast when using anonymous forwarding in blocks/lambda 2025-01-11 19:09:05 -05:00
modules.txt
multi_write.txt [ruby/prism] Fix multi write with modifier rescue 2024-02-26 13:58:57 +00:00
newline_terminated.txt
next.txt [ruby/prism] Update fixtures to be all valid Ruby 2024-04-03 17:34:12 -04:00
nils.txt
non_alphanumeric_methods.txt
not.txt
numbers.txt [ruby/prism] Reject invalid rational literals like 1e1r on lexing 2023-11-12 02:34:02 +00:00
patterns.txt [ruby/prism] Fix parser translator when splatting in pattern matching pin 2025-04-02 20:51:54 +00:00
procs.txt
range_begin_open_exclusive.txt
range_begin_open_inclusive.txt
range_beginless.txt [ruby/prism] Fix up beginless ranges in method definitions 2024-10-02 14:47:53 +00:00
range_end_open_exclusive.txt
range_end_open_inclusive.txt
ranges.txt [ruby/prism] Better comment token handling for the parser translator 2025-01-11 19:09:05 -05:00
regex.txt [ruby/prism] Fix parser translator ast for empty regex 2025-01-11 19:09:05 -05:00
regex_char_width.txt [ruby/prism] Account for encoding in regexp named captures 2024-02-18 21:42:09 +00:00
regex_escape_encoding.txt [ruby/prism] Do not leak explicit encoding 2024-09-16 18:57:54 +00:00
regex_with_fake_newlines.txt [ruby/prism] Further refine string handling in the parser translator 2025-03-18 13:36:53 -04:00
repeat_parameters.txt [ruby/prism] Add a "repeated flag" to parameter nodes 2024-01-10 15:24:26 +00:00
rescue.txt [ruby/prism] Fix parsing rescued exception via indexed assignment 2025-04-12 17:43:57 +00:00
rescue_modifier.txt [ruby/prism] Fix rescue modifier precedence 2025-01-22 19:58:27 +00:00
return.txt
single_method_call_with_bang.txt [ruby/prism] Fix lexing of foo! when it's a first thing to parse 2024-02-16 14:08:56 +00:00
single_quote_heredocs.txt
spanning_heredoc.txt [ruby/prism] Handle a non-interpolated dsym spanning a heredoc 2023-12-11 16:34:41 +00:00
spanning_heredoc_newlines.txt [ruby/prism] Fix assertion on spanning heredocs 2024-01-09 15:15:52 +00:00
strings.txt [ruby/prism] Fix parser translator with trailing backslash in %W /%I array 2025-06-30 12:32:31 +00:00
super.txt
symbols.txt [ruby/prism] Fix parser translator multiline interpolated symbols 2025-03-18 13:36:53 -04:00
ternary_operator.txt
tilde_heredocs.txt [ruby/prism] Fix lex compat when dedent should be 0 2023-10-18 16:09:16 +00:00
undef.txt
unescaping.txt
unless.txt [ruby/prism] Update fixtures to be all valid Ruby 2024-04-03 17:34:12 -04:00
until.txt [ruby/prism] Update fixtures to be all valid Ruby 2024-04-03 17:34:12 -04:00
variables.txt [ruby/prism] Only unnest parser mlhs nodes when no rest argument is provided 2025-03-18 13:36:53 -04:00
while.txt [ruby/prism] Update fixtures to be all valid Ruby 2024-04-03 17:34:12 -04:00
xstring.txt [ruby/prism] Add a multiple statements flag to parentheses 2025-03-18 13:36:53 -04:00
xstring_with_backslash.txt [ruby/prism] Fix a token incompatibility for Prism::Translation::Parser::Lexer 2024-03-12 17:33:14 +00:00
yield.txt [ruby/prism] Update fixtures to be all valid Ruby 2024-04-03 17:34:12 -04:00