Implement quckfix adding explicit upper bounds for generic when needed

This commit is contained in:
Denis Zharkov
2015-08-31 17:42:56 +03:00
parent c17451cf5c
commit c59b118b09
15 changed files with 236 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
// "Add 'kotlin.Any' as upper bound for E" "true"
fun <T : Any> foo() = 1
fun <E> bar() = foo<E<caret>>()