Project

General

Profile

Actions

Bug #20697

open

`Rational("1r")` fails while `Complex("1i")` succeeds

Added by nobu (Nobuyoshi Nakada) 3 months ago. Updated 3 months ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:118941]

Description

@mame (Yusuke Endoh) reported:

Rational("1r") #=> invalid value for convert(): "1r" (ArgumentError)

https://github.com/ruby/ruby/pull/11447

Actions

Also available in: Atom PDF

Like0
Like0