I have a pretty simple method definition: ```priv...
# compiler
k
I have a pretty simple method definition:
Copy code
private fun getUriForCommand() = URI(
    when (this) {
        is FooBar -> "<http://www.google.hr>"
    }
)
which seems to crash the compiler
e: org.jetbrains.kotlin.util.KotlinFrontEndException: Exception while analyzing expression at
Could this be a compiler bug?
d
Yes, it definitely is a bug (as any other exception from compiler) Could you please report it to youtrack? https://youtrack.jetbrains.com/newIssue?project=KT
k
will try to create a simple example that reproduces the bug, thanks for the info!
d
Thank you