Project

General

Profile

Actions

Feature #12574

closed

Remove TRUE, FALSE, and NIL

Feature #12574: Remove TRUE, FALSE, and NIL

Added by shugo (Shugo Maeda) over 9 years ago. Updated about 9 years ago.

Status:
Closed
Target version:
-
[ruby-core:76318]

Description

I believe TRUE, FALSE, and NIL are no longer used.
Why not remove them?

Updated by nobu (Nobuyoshi Nakada) over 9 years ago Actions #1 [ruby-core:76321]

Deprecate them first?

Updated by shugo (Shugo Maeda) over 9 years ago Actions #2 [ruby-core:76325]

Nobuyoshi Nakada wrote:

Deprecate them first?

Sounds reasonable.

I found that tool/mkconfig.rb uses them....

Updated by matz (Yukihiro Matsumoto) about 9 years ago Actions #3 [ruby-core:76427]

You have to wait until Ruby 3.0 at least.
I'd agree to remove TRUE, FALSE, NIL first.

Matz.

Updated by shugo (Shugo Maeda) about 9 years ago Actions #4 [ruby-core:76587]

  • Status changed from Open to Assigned
  • Assignee set to matz (Yukihiro Matsumoto)

Yukihiro Matsumoto wrote:

You have to wait until Ruby 3.0 at least.
I'd agree to remove TRUE, FALSE, NIL first.

Do you mean deprecating them first in 2.4?

Updated by nobu (Nobuyoshi Nakada) about 9 years ago Actions #5

  • Status changed from Assigned to Closed

Applied in changeset r55824.


deprecate TRUE,FALSE,NIL

  • object.c (InitVM_Object): deprecate toplevel constants TRUE,
    FALSE, and NIL. [Feature #12574]
Actions

Also available in: PDF Atom