[ruby-core:121092] [Ruby master Bug#21145] Prism accepts newlines in-between curly unicode escape
From:
"kddnewton (Kevin Newton) via ruby-core" <ruby-core@...>
Date:
2025-02-17 18:22:26 UTC
List:
ruby-core #121092
Issue #21145 has been updated by kddnewton (Kevin Newton).
Status changed from Open to Closed
Fixed by https://github.com/ruby/ruby/commit/2db365dc83b3bc5e5bc15d93b5cd44b048188361
----------------------------------------
Bug #21145: Prism accepts newlines in-between curly unicode escape
https://bugs.ruby-lang.org/issues/21145#change-112011
* Author: kddnewton (Kevin Newton)
* Status: Closed
* Assignee: prism
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: REQUIRED
----------------------------------------
For example:
```ruby
p "\u{
61}"
```
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/