[ruby/prism] Ignore newlines in labelled lambda arguments

4ce6bcf182
This commit is contained in:
Haldun Bayhantopcu 2024-11-08 18:26:50 +01:00 committed by Kevin Newton
parent a21237571e
commit 0dc35f0d30
Notes: git 2024-12-16 15:51:42 +00:00
2 changed files with 17 additions and 3 deletions

View file

@ -9,3 +9,15 @@
-> foo = bar do end
-> foo: bar do end
p{|a:
b|}
->(a:
b){}
->a:
b{}
->a:
{}