Files
kotlin-fork/idea/testData/intentions/importAllMembers/AmbiguousCalls.kt.after
T
Roman Golyshev 7d662bf5d1 Change testData for IntentionsTestGenerated to avoid using javax and sql packages
- Those packages are missing in the mockJdk 1.8 in intellij repository,
and it leads to those tests failing in kotlin-ide repository
2020-06-05 16:03:51 +03:00

18 lines
743 B
Plaintext
Vendored

import JavaUtilClass.*
// INTENTION_TEXT: "Import members from 'JavaUtilClass'"
// WITH_RUNTIME
// ERROR: None of the following functions can be called with the arguments supplied: <br>public open fun overloadedMethod(i: Int): Unit defined in JavaUtilClass<br>public open fun overloadedMethod(i: String!): Unit defined in JavaUtilClass
// ERROR: None of the following functions can be called with the arguments supplied: <br>public open fun overloadedMethod(i: Int): Unit defined in JavaUtilClass<br>public open fun overloadedMethod(i: String!): Unit defined in JavaUtilClass
// ERROR: Unresolved reference: unresolved
fun foo() {
overloadedMethod()
val bottom = STATIC_FIELD
overloadedMethod()
JavaUtilClass.unresolved
}