mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
ruby: drop unnecessary getExpr
Co-authored-by: Arthur Baars <aibaars@github.com>
This commit is contained in:
@@ -75,8 +75,8 @@ module Rbi {
|
||||
* Gets the type aliased by this call.
|
||||
*/
|
||||
RbiType getAliasedType() {
|
||||
result.asExpr().getExpr() =
|
||||
this.getBlock().asExpr().(ExprNodes::StmtSequenceCfgNode).getExpr().getLastStmt()
|
||||
result.asExpr() =
|
||||
this.getBlock().asExpr().(ExprNodes::StmtSequenceCfgNode).getLastStmt()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user