mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
ruby: drop a TODO
This commit is contained in:
@@ -70,13 +70,11 @@ module Rbi {
|
||||
class RbiTypeAlias extends RbiType, DataFlow::CallNode {
|
||||
RbiTypeAlias() { this = API::getTopLevelMember("T").getAMethodCall("type_alias") }
|
||||
|
||||
// TODO: avoid mapping to AST layer
|
||||
/**
|
||||
* Gets the type aliased by this call.
|
||||
*/
|
||||
RbiType getAliasedType() {
|
||||
result.asExpr() =
|
||||
this.getBlock().asExpr().(ExprNodes::StmtSequenceCfgNode).getLastStmt()
|
||||
result.asExpr() = this.getBlock().asExpr().(ExprNodes::StmtSequenceCfgNode).getLastStmt()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user