3d6ec0ec75
Previously, creating a declaration with Fir2IrCallableDeclarationsGenerator/ Fir2IrClassifiersGenerator didn't guarantee that this declaration will be actually added to the list of parent class/file declarations, which lead to situations when FIR2IR created some declarations in the air (mostly fake-overrides)
18 lines
374 B
Kotlin
Vendored
18 lines
374 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
interface CPointed
|
|
|
|
inline fun <reified T : CPointed> CPointed.reinterpret(): T = TODO()
|
|
|
|
class CInt32VarX<T> : CPointed
|
|
typealias CInt32Var = CInt32VarX<Int>
|
|
|
|
var <T_INT : Int> CInt32VarX<T_INT>.value: T_INT
|
|
get() = TODO()
|
|
set(value) {}
|
|
|
|
class IdType(val value: Int) : CPointed
|
|
|
|
fun foo(value: IdType, cv: CInt32Var) {
|
|
cv.value = value.value
|
|
}
|