1. 09 May, 2020 1 commit
    • KOBAYASHI Shuji's avatar
      Fix some `Hash` methods are inconsistent with `values` · 181f7b97
      KOBAYASHI Shuji authored
      Inconsistent when hash has duplicate key.
      
      ### Example
      
        ```ruby
        # example.rb
        keys = (1..3).map{[_1]}
        h = keys.to_h{[_1, _1[0]]}
        keys[0][0] = 2
        p h.values
        p h.each_value.to_a
        p h
        ```
      
      #### Before this patch:
      
        ```console
        $ bin/mruby example.rb
        [1, 2, 3]
        [1, 1, 3]
        {[2]=>1, [2]=>1, [3]=>3}
        ```
      
      #### After this patch (same as Ruby)
      
        ```console
        $ bin/mruby example.rb
        [1, 2, 3]
        [1, 2, 3]
        {[2]=>1, [2]=>2, [3]=>3}
        ```
      181f7b97
  2. 07 May, 2020 3 commits
  3. 06 May, 2020 11 commits
  4. 05 May, 2020 1 commit
  5. 04 May, 2020 1 commit
  6. 30 Apr, 2020 3 commits
  7. 29 Apr, 2020 7 commits
  8. 28 Apr, 2020 13 commits