Introduce Variable: Skip type in template if no resolvable/non-error types are available in the current context

#KT-10808 Fixed
This commit is contained in:
Alexey Sedunov
2016-02-04 15:36:45 +03:00
parent eacd50c4dc
commit 792d9c1ae2
6 changed files with 27 additions and 11 deletions
@@ -0,0 +1,5 @@
fun main(args:Array<String>) {
val old = pref.getString("", "")
pref.edit().putString("", "").apply()
<selection>LocalBroadcastManager.getInstance(this)</selection>.sendBroadcast(Intent(""))
}
@@ -0,0 +1,6 @@
fun main(args:Array<String>) {
val old = pref.getString("", "")
pref.edit().putString("", "").apply()
val instance: Any = LocalBroadcastManager.getInstance(this)
instance.sendBroadcast(Intent(""))
}