Analysis API: move testdata to corresponding components folders
This commit is contained in:
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
class A<T>(val value : T)
|
||||
class B<T>
|
||||
|
||||
fun <T> A<T>.toB(): B<T> {
|
||||
<expr>@Suppress("UNCHECKED_CAST")</expr>
|
||||
val v = (value as? Long)?.let { it.toInt() } as T ?: value
|
||||
return v
|
||||
}
|
||||
Reference in New Issue
Block a user