Python: Moves non_local_control_flow to new API, and fixes bug in ClassValue implementation

This commit is contained in:
Rebecca Valentine
2020-03-03 15:38:35 -08:00
parent 85f5ad2231
commit e39a0c9121
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ predicate no_comment(ExceptStmt ex) {
}
predicate non_local_control_flow(ExceptStmt ex) {
ex.getType().refersTo(theStopIterationType())
ex.getType().pointsTo(ClassValue::stopIteration())
}
predicate try_has_normal_exit(Try try) {