OverloadResolver:

fix redeclaration diagnostics issue in incremental compilation (KT-6165)
J2K: OverloadUtil.kt
This commit is contained in:
Dmitry Petrov
2015-10-20 17:18:11 +03:00
parent f3cc6fc170
commit 5170341624
4 changed files with 104 additions and 111 deletions
@@ -5,10 +5,5 @@ End of files
Compiling files:
src/fun2.kt
End of files
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/test/Fun1Kt.class
End of files
Compiling files:
src/fun1.kt
End of files
COMPILATION FAILED
'public fun function(): kotlin.Unit' is already defined in test
@@ -6,6 +6,4 @@ Compiling files:
src/prop2.kt
End of files
COMPILATION FAILED
Platform declaration clash: The following declarations have the same JVM signature (getProperty()I):
fun <get-property>(): kotlin.Int
fun <get-property>(): kotlin.Int
Redeclaration: property