Skip to content

Commit 7f7553d

Browse files
authored
ID for Kotlin (#1839)
* ID for Kotlin * Update MetaData.scala
1 parent 019f9e7 commit 7f7553d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

schema/src/main/scala/io/shiftleft/codepropertygraph/schema/MetaData.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ object MetaData extends SchemaBase {
9494
valueType = ValueType.String,
9595
comment = "generic reverse engineering framework"
9696
).protoId(ProtoIds.Ghidra),
97-
Constant(name = "KOTLIN", value = "KOTLIN", valueType = ValueType.String, comment = "").protoId(11),
97+
Constant(name = "KOTLIN", value = "KOTLIN", valueType = ValueType.String, comment = "").protoId(ProtoIds.Kotlin),
9898
Constant(
9999
name = "NEWC",
100100
value = "NEWC",

schema/src/main/scala/io/shiftleft/codepropertygraph/schema/ProtoIds.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ object ProtoIds {
5454
val Try = 10
5555
val Ref = 10
5656
val Ghidra = 10
57+
val Kotlin = 11
5758
val ReadOnly = 11
5859
val Throw = 11
5960
val ColumnNumber = 11

0 commit comments

Comments
 (0)