Project

General

Profile

Actions

Bug #20697

open

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

Added by nobu (Nobuyoshi Nakada) 4 months ago. Updated 4 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 #1

Updated by nobu (Nobuyoshi Nakada) 4 months ago

  • Description updated (diff)
Actions

Also available in: Atom PDF

Like0
Like0