mirror of
https://github.com/github/codeql.git
synced 2026-05-14 03:09:26 +02:00
Preserve Slim template statement matching semantics
Agent-Logs-Url: https://github.com/github/codeql/sessions/c8fcf73a-5bb2-4182-b8fb-a251eec43ef4 Co-authored-by: aschackmull <28296824+aschackmull@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d3e00aeb9f
commit
5c7426e278
@@ -18,7 +18,7 @@ module Slim {
|
||||
|
||||
override DataFlow::Node getTemplate() {
|
||||
result.asExpr().getExpr() =
|
||||
this.getBlock().(DataFlow::BlockNode).asCallableAstNode().getLastStmt()
|
||||
this.getBlock().(DataFlow::BlockNode).asCallableAstNode().(StmtSequence).getAStmt()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user