[IR] Make IrTypeArgument a sealed interface

This commit is contained in:
Sergej Jaskiewicz
2023-01-19 19:35:41 +01:00
committed by Space Team
parent c65b689fa0
commit 1f76d39e66
25 changed files with 59 additions and 73 deletions
@@ -150,7 +150,6 @@ fun IrTypeArgument.upperBound(builtIns: IrBuiltIns): IrType =
else
builtIns.anyNType
}
else -> error("Unknown type argument: ${render()}")
}
private fun IrClass.getSimpleFunction(name: String): IrSimpleFunctionSymbol? =