7d662bf5d1
- Those packages are missing in the mockJdk 1.8 in intellij repository, and it leads to those tests failing in kotlin-ide repository
24 lines
463 B
Plaintext
Vendored
24 lines
463 B
Plaintext
Vendored
// INTENTION_TEXT: "Add import for 'java.util.regex.Pattern.matches'"
|
|
// WITH_RUNTIME
|
|
// ERROR: Unresolved reference: SomethingElse
|
|
// ERROR: Unresolved reference: somethingElse
|
|
// SKIP_ERRORS_AFTER
|
|
|
|
import java.util.regex.Pattern
|
|
import java.util.regex.Pattern.matches
|
|
|
|
fun foo() {
|
|
matches("", "")
|
|
}
|
|
|
|
fun bar() {
|
|
matches("", "")
|
|
|
|
matches("", "")
|
|
|
|
Pattern.compile("")
|
|
|
|
SomethingElse.matches("", "")
|
|
|
|
somethingElse.Pattern.matches("", "")
|
|
} |