ruby: drop unnecessary getExpr

Co-authored-by: Arthur Baars <aibaars@github.com>
This commit is contained in:
Alex Ford
2022-05-04 14:04:34 +01:00
committed by GitHub
parent b956616a56
commit 4210973ade

View File

@@ -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()
}
}