mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
Don't log every time a type alias is ignored
This is a known TODO; runtime output not required.
This commit is contained in:
committed by
Ian Lynagh
parent
5a5d0e15eb
commit
613e6b29a9
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user