We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37500d2 commit f84e62eCopy full SHA for f84e62e
java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt
@@ -1795,6 +1795,7 @@ open class KotlinFileExtractor(
1795
} else if (enumType is IrTypeParameter && enumType.isReified) {
1796
// A call to `enumValues<T>()` is being extracted, where `T` is a reified type parameter of an `inline` function.
1797
// We can't generate a valid expression here, because we would need to know the type of T on the call site.
1798
+ // TODO: replace error expression with something that better shows this expression is unrepresentable.
1799
val id = tw.getFreshIdLabel<DbErrorexpr>()
1800
val type = useType(c.type)
1801
0 commit comments