Hi, dont know whats the right channel to post that...
# announcements
d
Hi, dont know whats the right channel to post that, but I’ve got an error when compiling my test that has name in back ticks and uses some lambdas
Copy code
org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Failed to generate function should convert exception to NoInternetConnectionException
Cause: Invalid class name (must be a fully qualified class name in internal form): .../model/repository/helper/ExceptionMapperHelperTest$should convert exception to NoInternetConnectionException$1
File being compiled and position: (42,5) in /.../model/repository/helper/ExceptionMapperHelperTest.kt
PsiElement: @Test
    fun `should convert exception to NoInternetConnectionException`() {
        with(object : ExceptionMapperHelper {}) {
            Single.error<Unit>(SocketTimeoutException())
                    .mapHttpError()
                    .test()
                    .assertError { it is NoInternetException }
        }
    }