Property <-> Function Conversion: Add/remove 'get'/'is' prefixes automatically
#KT-8812 Fixed
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
||||
// WITH_RUNTIME
|
||||
fun String.foo(): String = if (isEmpty()) "" else substring(1).foo()
|
||||
fun String.getFoo(): String = if (isEmpty()) "" else substring(1).getFoo()
|
||||
Reference in New Issue
Block a user