mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Add todo comment based on PR review
This commit is contained in:
@@ -1795,6 +1795,7 @@ open class KotlinFileExtractor(
|
||||
} else if (enumType is IrTypeParameter && enumType.isReified) {
|
||||
// A call to `enumValues<T>()` is being extracted, where `T` is a reified type parameter of an `inline` function.
|
||||
// We can't generate a valid expression here, because we would need to know the type of T on the call site.
|
||||
// TODO: replace error expression with something that better shows this expression is unrepresentable.
|
||||
val id = tw.getFreshIdLabel<DbErrorexpr>()
|
||||
val type = useType(c.type)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user