Fir2Ir: properly compute setter type parameter bounds
This commit is contained in:
committed by
Alexander Udalov
parent
3a4b8962f9
commit
8fd29a9fec
@@ -115,7 +115,7 @@ class Fir2IrClassifierStorage(
|
||||
getIrTypeParameter(typeParameter, index, symbol, typeContext).apply {
|
||||
parent = this@setTypeParameters
|
||||
if (superTypes.isEmpty()) {
|
||||
superTypes = typeParameter.bounds.map { it.toIrType() }
|
||||
superTypes = typeParameter.bounds.map { it.toIrType(typeContext) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user