Project

General

Profile

Actions

Bug #5773

closed

bigdecimal comparison raises SystemStackError

Added by tenderlovemaking (Aaron Patterson) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.0.0dev (2011-12-15 trunk 34056) [x86_64-darwin11.2.0]
Backport:
[ruby-core:41710]

Description

Comparing an uninitialized BigDecimal to another will raise a SysteStackError exception. For example:

BigDecimal("1") == BigDecimal.allocate

I've attached a test case that demonstrates this bug.


Files

failing_test.patch (524 Bytes) failing_test.patch tenderlovemaking (Aaron Patterson), 12/18/2011 12:33 PM

Related issues 1 (0 open1 closed)

Blocked by Ruby master - Bug #5775: BigDecimal does not follow Allocation FrameworkClosedmrkn (Kenta Murata)12/18/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0