Kotlin: Add a warning

This commit is contained in:
Ian Lynagh
2021-11-04 11:45:48 +00:00
parent 2d43e7b2d1
commit 41d4c21910

View File

@@ -411,6 +411,10 @@ open class KotlinUsesExtractor(
}
fun useSimpleType(s: IrSimpleType, canReturnPrimitiveTypes: Boolean): TypeResults {
if (s.abbreviation != null) {
// TODO: Extract this information
logger.warn(Severity.ErrorSevere, "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
fun makeClass(pkgName: String, className: String): Label<DbClass> {