Python: Get rid of getLiteralValue

This had only two uses in our libraries, so I simply inlined the
predicate body in both places.
This commit is contained in:
Taus
2025-10-30 11:50:07 +00:00
parent fef08afff9
commit b434ce460e
3 changed files with 4 additions and 4 deletions

View File

@@ -337,8 +337,6 @@ abstract class ImmutableLiteral extends Expr {
abstract Object getLiteralObject();
abstract boolean booleanValue();
final Value getLiteralValue() { result.(ConstantObjectInternal).getLiteral() = this }
}
/** A numerical constant expression, such as `7` or `4.2` */