7d662bf5d1
- Those packages are missing in the mockJdk 1.8 in intellij repository, and it leads to those tests failing in kotlin-ide repository
18 lines
360 B
Kotlin
Vendored
18 lines
360 B
Kotlin
Vendored
// INTENTION_TEXT: "Import members from 'java.util.regex.Pattern'"
|
|
// WITH_RUNTIME
|
|
// ERROR: Unresolved reference: unresolved
|
|
|
|
import java.util.regex.Pattern
|
|
|
|
fun foo() {
|
|
Pattern.matches("", "")
|
|
|
|
val field = <caret>Pattern.CASE_INSENSITIVE
|
|
|
|
Pattern.compile("")
|
|
|
|
val fieldFqn = java.util.regex.Pattern.CASE_INSENSITIVE
|
|
|
|
Pattern.unresolved
|
|
}
|