Include file name for package-level members in diagnostics

This commit is contained in:
Dmitry Petrov
2017-05-25 13:12:41 +03:00
parent 7979663e6c
commit a86fe89aae
19 changed files with 47 additions and 24 deletions
@@ -4,8 +4,8 @@
package test
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (getX()I):
fun <get-x>(): Int defined in test
fun getX(): Int defined in test">val x</error> = 1
fun <get-x>(): Int defined in test in file topLevelMultifileRuntime.kt
fun getX(): Int defined in test in file topLevelMultifileRuntime.kt">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>(): Int defined in test
fun getX(): Int defined in test">fun getX()</error> = 1
fun <get-x>(): Int defined in test in file topLevelMultifileRuntime.kt
fun getX(): Int defined in test in file topLevelMultifileRuntime.kt">fun getX()</error> = 1