Project

General

Profile

Feature #15445

Reject '.123' in Float() method

Added by mrkn (Kenta Murata) over 1 year ago. Updated over 1 year ago.

Status:
Open
Priority:
Normal
Target version:
-
[ruby-core:90650]

Description

Since ruby 1.8, Ruby occurs a syntax error for "." floating literal.
But Float() method accepts such form now.

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

Also available in: Atom PDF