Project

General

Profile

Bug #5775

BigDecimal does not follow Allocation Framework

Added by Nobuyoshi Nakada about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
ruby -v:
2.0.0
Backport:
2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
[ruby-core:<unknown>]

Description

It still uses very old style, overriding Class.new method.


Related issues

Blocks Ruby trunk - Bug #5773: bigdecimal comparison raises SystemStackError Closed 12/18/2011

Associated revisions

Revision 34089
Added by Nobuyoshi Nakada about 4 years ago

  • ext/bigdecimal/bigdecimal.c (BigDecimal_s_allocate): follow Allocation Framework. [Bug #5775]

Revision 34089
Added by Nobuyoshi Nakada about 4 years ago

  • ext/bigdecimal/bigdecimal.c (BigDecimal_s_allocate): follow Allocation Framework. [Bug #5775]

History

#1 Updated by Nobuyoshi Nakada about 4 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r34089.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • ext/bigdecimal/bigdecimal.c (BigDecimal_s_allocate): follow Allocation Framework. [Bug #5775]

Also available in: Atom PDF