Project

General

Profile

Actions

Feature #11473

closed

Immutable String literal in Ruby 3

Added by ko1 (Koichi Sasada) over 9 years ago. Updated about 5 years ago.

Status:
Closed
Target version:
-
[ruby-core:<unknown>]

Description

Matz said "All String literals are immutable (frozen) on Ruby 3".

This ticket is place holder to discuss about that.


Related issues 2 (0 open2 closed)

Related to Ruby master - Feature #8976: file-scope freeze_string directiveClosedmatz (Yukihiro Matsumoto)Actions
Related to Ruby master - Feature #20205: Enable `frozen_string_literal` by defaultClosedmatz (Yukihiro Matsumoto)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0