-
Notifications
You must be signed in to change notification settings - Fork 63
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
Mustermann is not compatible with JRuby --enable=frozen-string-literal param #110
Comments
Any news about this issue? Opinion? :( |
@brometeo Would you like to offer a PR? |
https://github.com/sinatra/mustermann/blob/master/mustermann/lib/mustermann/ast/node.rb#L111 This line defines a String which is not mutable, and we need it to be. +"" would make a mutable String, whereas "" (the existing code) is a frozen one. |
Pull Request? I need permission for updating code :) |
I'll take a look at this after switching our Ci into actions. Sorry for the late reply. |
If it's ok with you @namusyaka I can handle the PR for this issue. WDYT? |
Go for it |
@olleolleolle and @namusyaka PR is ready to be reviewed. Let me know if there is anything I should change, add or try out 😉 |
Any news about this issue? It is very annoying :( |
Use String.new instead of quotes #110
I merged @michal-granec's PR into mustermann master, but we'll need @namusyaka to cut a release to get the fix out. |
Released 1.1.2 |
It tries to modify a frozen String in the code line:
mustermann-1.1.1/lib/mustermann/ast/node.rb:59
The text was updated successfully, but these errors were encountered: