KT-8394 ReplaceWith for Delegates.lazy fails outside of stdlib
#KT-8394 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// "Replace with 'matches(input)'" "true"
|
||||
|
||||
import kotlin.text.Regex
|
||||
|
||||
fun foo(regex: Regex) {
|
||||
regex.<caret>hasMatch("")
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Replace with 'matches(input)'" "true"
|
||||
|
||||
import kotlin.text.Regex
|
||||
|
||||
fun foo(regex: Regex) {
|
||||
regex.<caret>matches("")
|
||||
}
|
||||
Reference in New Issue
Block a user