Test classpath order of sources vs library dependencies

This commit is contained in:
Alexander Udalov
2015-01-28 19:00:55 +03:00
parent 2253567e36
commit de3f096ae1
4 changed files with 99 additions and 12 deletions
@@ -0,0 +1,12 @@
package test
import kotlin.jvm.internal.KObject
import kotlin.jvm.internal.Intrinsics
fun foo(): String {
// This method call should be resolved to kotlin-runtime.jar
val r: String = Intrinsics.stringPlus(":", ")")
// This method call should be resolved to sources
return KObject.methodWhichDoesNotExistInKotlinRuntime()
}