Create from usage: Assume String return type for function whch is called inside of string template
#KT-6083 Fixed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// "Create function 'foo'" "true"
|
||||
|
||||
fun test() {
|
||||
println("a = ${foo()}")
|
||||
}
|
||||
|
||||
fun foo(): String {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
Reference in New Issue
Block a user