Page MenuHomeDevCentral

Declare string literal as frozen
ClosedPublic

Authored by dereckson on Sep 21 2018, 15:37.
Tags
None
Referenced Files
F3747557: D1787.id4532.diff
Sat, Nov 16, 02:38
F3747555: D1787.id4531.diff
Sat, Nov 16, 02:38
Unknown Object (File)
Mon, Nov 11, 19:16
Unknown Object (File)
Sat, Nov 9, 04:51
Unknown Object (File)
Thu, Nov 7, 17:03
Unknown Object (File)
Thu, Oct 31, 13:14
Unknown Object (File)
Sat, Oct 19, 22:32
Unknown Object (File)
Oct 15 2024, 21:55
Subscribers
None

Details

Summary

Ruby 3 will use frozen string litteral by default.

As Tommy strings are immutable, we can already switch to this behavior.

References:

Test Plan

Run server

Diff Detail

Repository
rTOMMY Tommy
Lint
Lint Not Applicable
Unit
Tests Not Applicable