Introduce Variable: Allow introduction of variables with 'dynamic' type
#KT-8483 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun foo(): dynamic = 1
|
||||
|
||||
fun test(): Any? {
|
||||
return <selection>foo()</selection>
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
fun foo(): dynamic = 1
|
||||
|
||||
fun test(): Any? {
|
||||
val foo = foo()
|
||||
return foo
|
||||
}
|
||||
Reference in New Issue
Block a user