KT-8394 ReplaceWith for Delegates.lazy fails outside of stdlib

#KT-8394 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-07-10 21:53:02 +03:00
parent 1346d98bf3
commit d32ba08cb7
20 changed files with 199 additions and 90 deletions
@@ -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("")
}