Merge pull request #10675 from tamasvajk/kotlin-enum-constants

Kotlin: extract `isEnumConstant` relation
This commit is contained in:
Tamás Vajk
2022-10-04 21:53:22 +02:00
committed by GitHub
4 changed files with 10 additions and 0 deletions

View File

@@ -1161,6 +1161,7 @@ open class KotlinFileExtractor(
tw.writeFieldsKotlinType(id, type.kotlinResult.id)
val locId = tw.getLocation(ee)
tw.writeHasLocation(id, locId)
tw.writeIsEnumConst(id)
if (extractTypeAccess) {
val fieldDeclarationId = tw.getFreshIdLabel<DbFielddecl>()