[ruby-core:77864] [Ruby trunk Bug#12889] Regression of Ruby 2.4.preview2 string interpolation

From: ujifgc@...
Date: 2016-11-02 15:38:06 UTC
List: ruby-core #77864
Issue #12889 has been reported by Igor Bochkariov.

----------------------------------------
Bug #12889: Regression of Ruby 2.4.preview2 string interpolation
https://bugs.ruby-lang.org/issues/12889

* Author: Igor Bochkariov
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 2.4.0dev
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
~~~
$ ./ruby -v
ruby 2.4.0dev (2016-07-10 trunk 55620) [x86_64-linux]
$ ./ruby -e 'puts ("%01.0f" % 1234567892.0)'
1234567892
~~~

https://github.com/ruby/ruby/commit/295f60b94d5ff6551fab7c55e18d1ffa6a4cf7e3

~~~
$ ./ruby -v
ruby 2.4.0dev (2016-07-10 trunk 55621) [x86_64-linux]
$ ./ruby -e 'puts ("%01.0f" % 1234567892.0)'
1234567893
~~~






-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next