QuickFix for UNCHECKED_CAST
This commit is contained in:
committed by
Evgeny Gerashchenko
parent
db99492b9c
commit
1f3739415a
@@ -0,0 +1,4 @@
|
||||
// "Change type argument list to <*>" "true"
|
||||
public fun foo(a: Any) {
|
||||
a as List<*>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// "Change type argument list to <*, *>" "true"
|
||||
public fun foo(a: Any?) {
|
||||
a as Map<*, *>?
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// "Change type argument list to <*>" "true"
|
||||
public fun foo(a: Any) {
|
||||
a as List<Int><caret>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// "Change type argument list to <*, *>" "true"
|
||||
public fun foo(a: Any?) {
|
||||
a as Map<*, Int>?<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user