https://kotlinlang.org logo
#announcements
Title
# announcements
a

achim

10/13/2017, 10:17 AM
hi! I was using back-ticked method names with spaces in unit test when I came across a compiler crash (both for 1.1.51 and 1.2.0-beta-31). here’s a small example triggering it:
Copy code
interface `I I` {}
val a = object : `I I` {}
result:
Copy code
exception: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Failed to generate property a
Cause: Invalid class name (must be a fully qualified class name in internal form): Line_0$I I
File being compiled and position: (1,1) in /Line_1.kts
PsiElement: val a = object : `I I` {}
…
is this a known issue?
i

ilya.gorbunov

10/13/2017, 7:57 PM
Please report the crash to youtrack: http://kotl.in/issue
4 Views