FIR2IR: determine type parameters before value parameters
Type parameters can be referred from value parameters, so we should determine them earlier to be able to set their indexes
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ FILE fqName:<root> fileName:/typeParameterWithPrimitiveNumericSupertype.kt
|
||||
then: CONST Boolean type=kotlin.Boolean value=false
|
||||
FUN name:test5 visibility:public modality:FINAL <T, R> (x:kotlin.Any, y:R of <root>.test5) returnType:kotlin.Boolean
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Float?]
|
||||
TYPE_PARAMETER name:R index:0 variance: superTypes:[T of <root>.test5]
|
||||
TYPE_PARAMETER name:R index:1 variance: superTypes:[T of <root>.test5]
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Any
|
||||
VALUE_PARAMETER name:y index:1 type:R of <root>.test5
|
||||
BLOCK_BODY
|
||||
|
||||
Reference in New Issue
Block a user