Prohibit type parameters for local variables in LV >= 1.4 & -progressive

#KT-8341 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2018-12-24 01:30:17 +03:00
parent e509649132
commit 958aeff94b
18 changed files with 172 additions and 2 deletions
@@ -0,0 +1,5 @@
// "Remove type parameters" "true"
fun test() {
val <caret><T : unresovled_reference, K> x = 0
}
@@ -0,0 +1,5 @@
// "Remove type parameters" "true"
fun test() {
val x = 0
}