Skip to content

Commit

Permalink
schema: allow ANNOTATIONs attached to LITERALs (ShiftLeftSecurity#1727)
Browse files Browse the repository at this point in the history
  • Loading branch information
ursachec authored Aug 14, 2023
1 parent 03bad8f commit 409f561
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ object Annotation extends SchemaBase {
.addOutEdge(edge = ast, inNode = literal)
.addOutEdge(edge = evalType, inNode = tpe)

literal
.addOutEdge(edge = ast, inNode = annotation)

method
.addOutEdge(edge = ast, inNode = annotation)

Expand Down

0 comments on commit 409f561

Please sign in to comment.