Psi2Ir: Bind unbound type parameters

This commit is contained in:
Steven Schäfer
2020-04-15 13:51:30 +02:00
committed by Georgy Bronnikov
parent 8c4fdd1edd
commit fc7d667282
7 changed files with 45 additions and 0 deletions
@@ -120,6 +120,8 @@ class DeclarationStubGenerator(
generatePropertyStub(descriptor)
is TypeAliasDescriptor ->
generateTypeAliasStub(descriptor)
is TypeParameterDescriptor ->
generateOrGetTypeParameterStub(descriptor)
else ->
throw AssertionError("Unexpected member descriptor: $descriptor")
}
@@ -65,6 +65,7 @@ private val SymbolTable.allUnbound: List<IrSymbol>
r.addAll(unboundSimpleFunctions)
r.addAll(unboundProperties)
r.addAll(unboundTypeAliases)
r.addAll(unboundTypeParameters)
return r
}