Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-defined sorts cannot be referenced in quantified expressions #3404

Open
mattulbrich opened this issue Feb 12, 2024 · 1 comment
Open

Comments

@mattulbrich
Copy link
Member

mattulbrich commented Feb 12, 2024

Description

User-defined/Built-in KeY sorts are supposed to be accessible from within JML using a \dl_ escape. However, this does not work within quantified expressions.

Steps to reproduce

always

final class C {
	//@ invariant (\forall \dl_Seq c; c == c);
}

does not load in KeY.

--

@mattulbrich
Copy link
Member Author

mattulbrich commented Feb 19, 2024

And they cannot be used in cast expressions either. (\dl_Seq)x reportedly tends to fail, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant