-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibilities with --enable-frozen-string-literal #851
Comments
The error in that test is caused by Temple, not Slim.
And codes you suggested did not work even in no --enable-frozen-string-literal environment.
|
If I understood correctly Ruby is moving to frozen literals by default? We should make this change slowly by adding |
Implemented in Temple and Slim. See e1b66cc and judofyr/temple@0173e5e. Please confirm that it works for you. |
Slim has various issues with frozen string literals. Some are pretty easy to fix:
Note: there are possible performance improvements with using
"".dup
instead of+=
, see Friendly Frozen String Literals for reference. Just wanted to start working on this issue and see quick results.But then some cryptic issues happen within tilt, which I couldn't yet figure out:
Any idea how to tackle this? I'd love to investigate this further and provide a PR, but I am really at a loss what happens here.
The text was updated successfully, but these errors were encountered: