Skip to content

Conversation

@shigoel
Copy link
Contributor

@shigoel shigoel commented Jan 20, 2026

Description of changes:

Bugfix: Core's procedure type checker now raises an error when return variables are present in the preconditions, preventing invalid contract specifications.

This PR also improves the debugging experience by displaying finer-grained source locations that point to the contract with a type error, and includes a refactoring of the procedure type checking function for readability.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@shigoel shigoel requested a review from a team as a code owner January 20, 2026 03:06
@shigoel shigoel enabled auto-merge January 20, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant