KT-13719 'var' can be made 'val' highlighting range with annotation before

#KT-13719 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-10-03 15:13:12 +03:00
parent 8d48b0d2a0
commit 597cd04831
3 changed files with 17 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
fun foo(p: List<Any>) {
@Suppress("UNCHECKED_CAST")
var v = p as List<String>
print(v)
}