Don't log every time a type alias is ignored

This is a known TODO; runtime output not required.
This commit is contained in:
Chris Smowton
2022-03-18 12:11:38 +00:00
committed by Ian Lynagh
parent 5a5d0e15eb
commit 613e6b29a9
2 changed files with 0 additions and 2 deletions

View File

@@ -779,7 +779,6 @@ open class KotlinFileExtractor(
with("type alias", ta) {
if (ta.typeParameters.isNotEmpty()) {
// TODO: Extract this information
logger.error("Type alias with type parameters discarded: " + ta.render())
return
}
val id = useTypeAlias(ta)

View File

@@ -509,7 +509,6 @@ open class KotlinUsesExtractor(
fun useSimpleType(s: IrSimpleType, context: TypeContext): TypeResults {
if (s.abbreviation != null) {
// TODO: Extract this information
logger.error("Type alias ignored for " + s.render())
}
// We use this when we don't actually have an IrClass for a class
// we want to refer to