https://kotlinlang.org logo
Title
t

tipsy

02/03/2019, 9:30 AM
i get this error when trying to switch from hamcrest to assertj:
Error:Kotlin: [Internal Error] java.lang.IllegalStateException: Backend Internal error: Exception during code generation
Cause: Back-end (JVM) Internal error: wrong code generated
org.jetbrains.kotlin.codegen.CompilationException Back-end (JVM) Internal error: Couldn't transform method node:
anyone know what's up?
d

David Podhola

02/03/2019, 9:32 AM
does not the test function name end in “)”?
t

tipsy

02/03/2019, 9:36 AM
it has a () in there at least
multiple nested path() calls works
d

David Podhola

02/03/2019, 9:38 AM
Please try to remove them, I had the issue recently.
Someone mentioned it in this channel some time ago I think.
t

tipsy

02/03/2019, 9:41 AM
will try, is that a bug in intellij then? i just upgraded
d

David Podhola

02/03/2019, 9:42 AM
I would say in the latest Kotlin plugin
t

tipsy

02/03/2019, 9:47 AM
thanks!
g

ghedeon

02/03/2019, 10:01 AM
it's a confirmed regression in 1.3.20. I'd rather stay on 1.3.11 and wait for the fix. Surely, it won't take long.
d

David Podhola

02/03/2019, 10:02 AM
t

tipsy

02/03/2019, 11:35 AM
the maven snippet
<configuration>
        <args>
            <arg>-Xsanitize-parentheses</arg>
        </args>
    </configuration>
did nothing for me. i guess i will just downgrade to 1.3.11