We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was testing other basic cases and came across this problem, I didn't seem to find any issue that had already been reported.
@ assignable \nothing; should allow modification of a Boxed Type passed in parameter of a method.
@ assignable \nothing;
//@ ensures \result == 4; //@ assignable \nothing; public int computeA(Integer a) { a = 4; // OK a is passed by value return a; }
What is your expected behavior and what was the actual behavior?
The proof doesn't succeed but it should work because, like String, Boxed types are immutable.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I was testing other basic cases and came across this problem, I didn't seem to find any issue that had already been reported.
@ assignable \nothing;
should allow modification of a Boxed Type passed in parameter of a method.Steps to reproduce
The proof doesn't succeed but it should work because, like String, Boxed types are immutable.
The text was updated successfully, but these errors were encountered: