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
InvalidMutabilityException: mutation attempt of frozen mu.KotlinLoggingLevel #218
Comments
Thank you for reporting an issue. See the wiki for documentation and slack for questions. |
Thanks for reporting! Any idea how this should be fixed? |
Maybe set |
can you provide a test that will reproduce the issue? |
made one here: https://github.com/benkuly/kotlin-logging-issues-218 |
thanks! would you like to create a pr out of it or should i? |
Would be cool, when you do it :) |
So I think now I am able to reproduce it by adding the experiment flag, and created a PR for that: I am not sure what is the best approach for fixing it. |
Looks good to me :) Thank you very much! |
@benkuly maybe you didn't understand my comment. I am able to reproduce it, but no idea how to fix it. |
Oh sorry, yeah, than you are as far as I was, when I tried to fix it :( |
Seems that now (3.0.3) that we're using kotlin 1.7.20 this works fine. Anyway I added a test in #219. |
When using this library with the new native memory model of native I get the follwing exception:
The text was updated successfully, but these errors were encountered: