You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parsed=Unparser.parse(File.read('test.rb'))# works fine# but it fails the round-trip:Unparser.unparse_validate(parsed)# => #<Unparser::Either::Left value=#<Unparser::Validation generated_node=#<Unparser::Either::Left value=nil> generated_source=#<Unparser::Either::Left value=nil> identification="(string)" original_node=#<Unparser::Either::Left value=#<Parser::SyntaxError: unterminated string meets end of file>> original_source=#<Unparser::Either::Right value="notify(<<-HEREDOC) {\n\#{1}\nHEREDOC |report|\n report.something\n}">>>
test.rb
(slightly minified version of actual code i wrote):unparsed output:
The text was updated successfully, but these errors were encountered: