Files
kotlin-fork/idea/testData/intentions/importAllMembers/StaticJavaMembers.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

19 lines
345 B
Plaintext
Vendored

// INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'"
// WITH_RUNTIME
// ERROR: Unresolved reference: unresolved
import java.util.regex.Pattern
import java.util.regex.Pattern.*
fun foo() {
matches("", "")
val field = <caret>CASE_INSENSITIVE
compile("")
val fieldFqn = CASE_INSENSITIVE
Pattern.unresolved
}