Actions
Bug #19195
closedPattern match pin becomes syntax error if there is newline before closing paren
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-darwin20]
Description
Syntax OK
1 in ^(
1)
# => true
Syntax error. I think it should be syntax ok.
1 in ^(
1
)
# => syntax error, unexpected '\n', expecting ')'
Actions
Like0
Like0