From 94e059797ae89b35a2c72bf1a4307766a1a9e960 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Fri, 7 Jun 2024 14:55:17 -0400 Subject: [PATCH] [ruby/prism] Document that nested heredocs are not properly parsed for parser https://github.com/ruby/prism/commit/d218e65561 --- test/prism/ruby/parser_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/prism/ruby/parser_test.rb b/test/prism/ruby/parser_test.rb index 508bbd3ff0..b3c0ef5fa6 100644 --- a/test/prism/ruby/parser_test.rb +++ b/test/prism/ruby/parser_test.rb @@ -49,6 +49,9 @@ module Prism "spanning_heredoc.txt", "spanning_heredoc_newlines.txt", + # https://github.com/whitequark/parser/issues/1021 + "seattlerb/heredoc_nested.txt", + # https://github.com/whitequark/parser/issues/1016 "whitequark/unary_num_pow_precedence.txt" ] @@ -61,7 +64,6 @@ module Prism "regex_char_width.txt", "unescaping.txt", "seattlerb/bug190.txt", - "seattlerb/heredoc_nested.txt", "seattlerb/heredoc_with_extra_carriage_returns_windows.txt", "seattlerb/heredoc_with_only_carriage_returns_windows.txt", "seattlerb/heredoc_with_only_carriage_returns.txt",