Skip to content

Refactor Refinement Predicate#205

Open
rcosta358 wants to merge 2 commits intomainfrom
refactor-refinement-predicate
Open

Refactor Refinement Predicate#205
rcosta358 wants to merge 2 commits intomainfrom
refactor-refinement-predicate

Conversation

@rcosta358
Copy link
Copy Markdown
Collaborator

This PR refactors the usage and semantics of the @RefinementPredicate annotation.
It has two main changes:

  • Removes the ghost and type keywords from the grammar, as they were redundant and provided no practical benefit
  • Changes the annotation target from methods/constructors to classes/interfaces, since it adds the ghost globally and not on a method-level scope

These changes simplify the annotation model and make its usage more intuitive and consistent.

@rcosta358 rcosta358 self-assigned this Apr 7, 2026
@rcosta358 rcosta358 requested a review from CatarinaGamboa April 7, 2026 13:56
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