getStatementType() has an assertion that prevents statement numbers that are out-of-bounds to be evaluated.
This is done based on the understanding that Next evaluator should never pass in an out-of-bounds statement number to getStatementType(). However, this has since changed, as there are more clients of getStatementType() now, including Affects/ Evaluator.
PQL queries that include out-of-bounds statement number to Affects/* Evaluator will then trigger a failed assertion.
getStatementType()
has an assertion that prevents statement numbers that are out-of-bounds to be evaluated.This is done based on the understanding that Next evaluator should never pass in an out-of-bounds statement number to
getStatementType()
. However, this has since changed, as there are more clients ofgetStatementType()
now, including Affects/ Evaluator.PQL queries that include out-of-bounds statement number to Affects/* Evaluator will then trigger a failed assertion.