Feature #8923

Frozen nil/true/false

Added by Koichi Sasada 7 months ago. Updated 3 months ago.

Assignee:Yukihiro Matsumoto
Target version:current: 2.2.0


Related to [Feature #8906]

We aready freezed Integer, Float. Symbols soon (now working).

How about to freeze nil, true and false, too?

frozen ruby? "Ruby"f?

Related issues

Related to ruby-trunk - Feature #8579: Frozen string syntax Closed 06/29/2013


#1 Updated by Hans Mackowiak 7 months ago

they are a bit different with methods, because defining singleton methods on them redirects to the curresponding Class

but yes, instance variables on them doesnt make much sense

#2 Updated by Charles Nutter 7 months ago

I obviously support this :-)

#3 Updated by Hiroshi SHIBATA 3 months ago

  • Target version changed from 2.1.0 to current: 2.2.0

Also available in: Atom PDF