ruby/test/prism/fixtures/dstring.txt
Kevin Newton dc48c1aca3 [ruby/prism] Add a multiple statements flag to parentheses
This can get triggered even if the list of statements only contains
a single statement. This is necessary to properly support compiling

```ruby
defined? (;a)
defined? (a;)
```

as "expression". Previously these were parsed as statements lists
with single statements in them.

https://github.com/ruby/prism/commit/b63b5d67a9
2025-03-18 13:36:53 -04:00

43 lines
169 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"foo
bar"
"foo
#{bar}"
"fo
o" "ba
r"
"
foo\
"
"
foo\\
"
"
foo\\\
"
"
foo\\\\
"
"
foo\\\\\
"
"
foo\
b\nar
#{}
"
"foo
\n#{}bar\n\n#{}
a\nb\n#{}\nc\n"
"
"