[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-cvs
Subject:    [ruby-cvs:93843] 0ab0229c11 (master): Fix frozen object inspect
From:       "eileencodes" <eileencodes () gmail ! com>
Date:       2022-09-30 20:58:09
Message-ID: 20220930205809.17CAC60AAE () svn ! ruby-lang ! org
[Download RAW message or body]

eileencodes	2022-10-01 04:37:18 +0900 (Sat, 01 Oct 2022)

  New Revision: 0ab0229c11

  https://github.com/ruby/ruby/commit/0ab0229c11

  Log:
    Fix frozen object inspect
    =

    In the rails/rails CI build for Ruby master we found that some tests
    were failing due to inspect on a frozen object being incorrect.
    =

    An object's instance variable count was incorrect when frozen causing=

    the object's inspect to not splat out the object.
    =

    This fixes the issue and adds a test for inspecting frozen objects.
    =

    Co-Authored-By: Jemma Issroff <jemmaissroff@gmail.com>
    Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org>

  Modified files:
    shape.c
    test/ruby/test_object.rb=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic