Skip to content

Fix several BigDecimal failures#7780

Merged
enebo merged 1 commit intojruby:masterfrom
k77ch7:ruby-3.1-fix-bigdecimal-complex
May 4, 2023
Merged

Fix several BigDecimal failures#7780
enebo merged 1 commit intojruby:masterfrom
k77ch7:ruby-3.1-fix-bigdecimal-complex

Conversation

@k77ch7
Copy link
Contributor

@k77ch7 k77ch7 commented May 4, 2023

This PR fixes:

  • Kernel#BigDecimal with Complex
  • Kernel#BigDecimal with exception keyword
  • BigDecimal#load

and refactors relevant functions.

The following tests will pass in test/mri/bigdecimal/test_bigdecimal.rb.

  • test_BigDecimal_with_complex
  • test_BigDecimal_with_exception_keyword
  • test_marshal

This PR fixes:
 * Kernel#BigDecimal with Complex
 * Kernel#BigDecimal with exception keyword
 * BigDecimal#load
and refactors relevant functions.

The following tests will pass in test/mri/bigdecimal/test_bigdecimal.rb.
 * test_BigDecimal_with_complex
 * test_BigDecimal_with_exception_keyword
 * test_marshal
@enebo enebo added this to the JRuby 9.4.3.0 milestone May 4, 2023
@enebo enebo merged commit c474b21 into jruby:master May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants