Introduce Variable: Allow introduction of variables with 'dynamic' type

#KT-8483 Fixed
This commit is contained in:
Alexey Sedunov
2015-10-23 20:08:17 +03:00
parent 6dd58ad197
commit 18ed3055ee
4 changed files with 18 additions and 0 deletions
@@ -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
}