Ruby: add missing toString case for synthetic globals

This commit is contained in:
Alex Ford
2023-01-20 13:06:25 +00:00
parent 976b0401be
commit e4df1f5a6f
6 changed files with 30 additions and 0 deletions

View File

@@ -39,6 +39,11 @@ module Public {
)
or
exists(ReturnKind rk | this = TReturnSummaryComponent(rk) and result = "return (" + rk + ")")
or
exists(SummaryComponent::SyntheticGlobal sg |
this = TSyntheticGlobalSummaryComponent(sg) and
result = "synthetic global (" + sg + ")"
)
}
}