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, Dec 15, 22:33
Unknown Object (File)
Fri, Dec 13, 22:39
Unknown Object (File)
Wed, Dec 11, 09:15
Unknown Object (File)
Sun, Dec 8, 17:49
Unknown Object (File)
Fri, Dec 6, 00:33
Unknown Object (File)
Wed, Dec 4, 18:36
Unknown Object (File)
Wed, Dec 4, 18:36
Unknown Object (File)
Wed, Dec 4, 18:36
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 Passed
Unit
No Test Coverage
Branch
frozen-config (branched from master)
Build Status
Buildable 2773
Build 3021: arc lint + arc unit