KeYProject / key

KeY Theorem Prover for Deductive Java Verification
https://key-project.org
Other
41 stars 24 forks source link

Fix error handling for unknown sorts #3428

Closed MarcoScaletta closed 5 months ago

MarcoScaletta commented 5 months ago

Intended Change

This change handle properly the error of unknown sort, for example seq in seq::seqGet(seqEmpty, 0). Previously this would throw a NullPointerException (Message: Given sort is null) after creating the function name null::seqGet and after trying to create AbstractSortedOperator with null sort.

Type of pull request

Ensuring quality

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.