Project

General

Profile

Actions

Bug #14110

closed

Ruby 2.5.0.dev (from trunk) still doesn't support zero unicode codepoints

Added by ibylich (Ilya Bylich) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-11-14 trunk 60757) [x86_64-darwin17]
[ruby-core:83788]

Description

Hi,

This commit - https://github.com/ruby/ruby/commit/7e8b910 - according to its commit message should allow zero unicode codepoints, i.e.

$ cat test.rb
p "\u{}"

$ ./ruby -v
ruby 2.5.0dev (2017-11-14 trunk 60757) [x86_64-darwin17]

$ ./ruby test.rb
test.rb:1: invalid Unicode escape
p "\u{}"
      ^

Shouldn't it be supported now? Because the test that was removed (that zero codepoints are not supported) is still passing.
Thanks.

Actions

Also available in: Atom PDF

Like0
Like0Like0