Anyone had trouble with Kotlin compiler when a method name contains a
"
?
method name is:
fun 'should do something with "this" and return zero'()
(using single quotes instead of backticks)
It works fine on mac but on windows it throws:
Copy code
Error:Kotlin: [Internal Error] java.lang.IllegalStateException: java.io.FileNotFoundException: C:\path\to\file\MyTest$should do something with "this" and return zero$1.class (The filename, directory name, or volume label syntax is incorrect)
at org.jetbrains.kotlin.codegen.CompilationErrorHandler.lambda$static$0(CompilationErrorHandler.java:24)
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generate(PackageCodegenImpl.java:74)