Page MenuHomeDevCentral

Declare string literal as frozen
ClosedPublic

Authored by dereckson on Sep 21 2018, 15:37.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 24, 13:39
Unknown Object (File)
Mon, Aug 18, 23:31
Unknown Object (File)
Mon, Aug 18, 23:31
Unknown Object (File)
Mon, Aug 18, 23:31
Unknown Object (File)
Sun, Aug 17, 15:40
Unknown Object (File)
Sun, Aug 17, 11:30
Unknown Object (File)
Sun, Aug 17, 00:34
Unknown Object (File)
Tue, Aug 12, 08:20
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