1. 15 Dec, 2021 2 commits
  2. 14 Dec, 2021 1 commit
  3. 13 Dec, 2021 7 commits
  4. 12 Dec, 2021 1 commit
  5. 09 Dec, 2021 1 commit
  6. 08 Dec, 2021 4 commits
  7. 07 Dec, 2021 1 commit
  8. 06 Dec, 2021 2 commits
  9. 04 Dec, 2021 1 commit
  10. 03 Dec, 2021 4 commits
  11. 02 Dec, 2021 1 commit
  12. 01 Dec, 2021 6 commits
  13. 29 Nov, 2021 2 commits
  14. 28 Nov, 2021 5 commits
  15. 26 Nov, 2021 2 commits
    • Yukihiro "Matz" Matsumoto's avatar
    • dearblue's avatar
      Check more `MRB_ARGS_NONE()` · 668b12e7
      dearblue authored
      The `__id__` method implemented in the C function has `MRB_ARGS_NONE()` specified, but it is also effective in the following cases.
      
      ```ruby
      p nil.__id__ opts: 1 rescue p :a
      p nil.method(:__id__).call 1 rescue p :b
      p nil.method(:__id__).call opts: 1 rescue p :c
      p nil.method(:__id__).to_proc.call 1 rescue p :d
      p nil.method(:__id__).to_proc.call opts: 1 rescue p :e
      p nil.method(:__id__).unbind.bind_call nil, 1 rescue p :f
      p nil.method(:__id__).unbind.bind_call nil, opts: 1 rescue p :g
      p nil.__send__ :__id__, 1 rescue p :h
      p nil.__send__ :__id__, opts: 1 rescue p :i
      ```
      
      After applying this patch, all items will output symbols in the same way as CRuby.
      
      For this purpose, add `MRB_PROC_NOARG` to `struct RProc::flags`.
      668b12e7