Improve JvmConflictingDeclarations diagnostics rendering

This commit is contained in:
Pavel V. Talanov
2016-02-19 16:49:29 +03:00
parent d0b27a5fe2
commit b399bbffd7
6 changed files with 39 additions and 18 deletions
@@ -6,8 +6,8 @@ import kotlin.jvm.JvmName
import kotlin.jvm.JvmMultifileClass
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (getX()I):
fun <get-x>(): kotlin.Int
fun getX(): kotlin.Int">val x</error> = 1
fun <get-x>(): Int
fun getX(): Int">val x</error> = 1
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (getX()I):
fun <get-x>(): kotlin.Int
fun getX(): kotlin.Int">fun getX()</error> = 1
fun <get-x>(): Int
fun getX(): Int">fun getX()</error> = 1