KT-13833 javascript: Smart type completion to lower priority of dynamic type

#KT-13833 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-09-27 19:15:42 +03:00
parent dbbba45d63
commit e8f4c65455
3 changed files with 26 additions and 3 deletions
@@ -0,0 +1,10 @@
fun returnDynamic(): dynamic = TODO()
fun returnString(): String = ""
fun returnNothing(): Nothing? = TODO()
val test: Any? = return<caret>
// WITH_ORDER
// EXIST: returnString
// EXIST: returnDynamic
// EXIST: returnNothing