mirror of
https://github.com/github/codeql.git
synced 2026-02-08 19:21:07 +01: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