mirror of
https://github.com/github/codeql.git
synced 2026-04-20 22:44:52 +02:00
make sure Literal is an Expr
This commit is contained in:
committed by
GitHub
parent
ee9e1914b0
commit
fec3d745ca
@@ -372,7 +372,7 @@ class ComparisonOp extends TComparisonOp, AstNode {
|
||||
override string getAPrimaryQlClass() { result = "ComparisonOp" }
|
||||
}
|
||||
|
||||
class Literal extends TLiteral, AstNode {
|
||||
class Literal extends TLiteral, Expr {
|
||||
Generated::Literal lit;
|
||||
|
||||
Literal() { this = TLiteral(lit) }
|
||||
|
||||
Reference in New Issue
Block a user