Skip to content

Commit f84e62e

Browse files
committed
Add todo comment based on PR review
1 parent 37500d2 commit f84e62e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,6 +1795,7 @@ open class KotlinFileExtractor(
17951795
} else if (enumType is IrTypeParameter && enumType.isReified) {
17961796
// A call to `enumValues<T>()` is being extracted, where `T` is a reified type parameter of an `inline` function.
17971797
// 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.
17981799
val id = tw.getFreshIdLabel<DbErrorexpr>()
17991800
val type = useType(c.type)
18001801

0 commit comments

Comments
 (0)