Project

General

Profile

Actions

Feature #1866

closed

redefinable not (!) operators for 1.8

Added by shyouhei (Shyouhei Urabe) over 14 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
[ruby-dev:38990]

Description

=begin
1.8でも!を再定義可能にするというのはどうでしょうか。
純粋な拡張なので、後方互換は問題ないんじゃないかと思っています。test-allは通っていそうです。

実装を(redmineに)添付します。
=end


Files

redefinable_not.patch (8 KB) redefinable_not.patch implementation of redefinable not, against ruby_1_8 shyouhei (Shyouhei Urabe), 08/03/2009 03:47 PM
Actions #1

Updated by knu (Akinori MUSHA) over 14 years ago

=begin
懸念点は性能低下くらいでしょうか。軽微ですかね?

あと、NODE_NOTは廃止できますか?
=end

Actions #2

Updated by shyouhei (Shyouhei Urabe) over 14 years ago

=begin
性能低下は軽微なのではないかとおもいますが、すいません、未評価です。

NODE_NOTは廃止しようと思えばできる気がしますが、1.8の間はバイナリ互換性のためにあえて残しておいたほうがよくないでしょうか。
=end

Updated by shyouhei (Shyouhei Urabe) over 10 years ago

  • Description updated (diff)
  • Status changed from Assigned to Closed

こちらのtarget versionは終了しました。この場を借りて皆様の暖かいご支援に感謝いたします。

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0