Page MenuHomeDevCentral

Declare string literal as frozen
ClosedPublic

Authored by dereckson on Sep 21 2018, 15:37.
Tags
None
Referenced Files
F4021872: D1787.id.diff
Sun, Jan 19, 14:56
F4020861: D1787.id4532.diff
Sun, Jan 19, 07:47
Unknown Object (File)
Sat, Jan 18, 01:10
Unknown Object (File)
Sat, Jan 11, 12:14
Unknown Object (File)
Thu, Jan 9, 21:48
Unknown Object (File)
Thu, Jan 9, 08:33
Unknown Object (File)
Thu, Jan 9, 01:07
Unknown Object (File)
Mon, Jan 6, 18:00
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