Issue #15445 has been reported by mrkn (Kenta Murata).

----------------------------------------
Feature #15445: Reject '.123' in Float() method
https://bugs.ruby-lang.org/issues/15445

* Author: mrkn (Kenta Murata)
* Status: Open
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: 
----------------------------------------
Since ruby 1.8, Ruby occurs a syntax error for ".<digit>" floating literal.
But Float() method accepts such form now.

I propose to reject ".<digit>" form even in Float() method.



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

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