Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 613e6b2

Browse files
smowtonigfoo
authored andcommitted
Don't log every time a type alias is ignored
This is a known TODO; runtime output not required.
1 parent 5a5d0e1 commit 613e6b2

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,6 @@ open class KotlinFileExtractor(
779779
with("type alias", ta) {
780780
if (ta.typeParameters.isNotEmpty()) {
781781
// TODO: Extract this information
782-
logger.error("Type alias with type parameters discarded: " + ta.render())
783782
return
784783
}
785784
val id = useTypeAlias(ta)

java/kotlin-extractor/src/main/kotlin/KotlinUsesExtractor.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ open class KotlinUsesExtractor(
509509
fun useSimpleType(s: IrSimpleType, context: TypeContext): TypeResults {
510510
if (s.abbreviation != null) {
511511
// TODO: Extract this information
512-
logger.error("Type alias ignored for " + s.render())
513512
}
514513
// We use this when we don't actually have an IrClass for a class
515514
// we want to refer to

0 commit comments

Comments
 (0)