[
https://issues.apache.org/jira/browse/GROOVY-12052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King resolved GROOVY-12052.
--------------------------------
Fix Version/s: 6.0.0-alpha-2
Resolution: Fixed
> groovy-contracts @Ensures could support static methods
> ------------------------------------------------------
>
> Key: GROOVY-12052
> URL: https://issues.apache.org/jira/browse/GROOVY-12052
> Project: Groovy
> Issue Type: Improvement
> Reporter: Paul King
> Assignee: Paul King
> Priority: Major
> Fix For: 6.0.0-alpha-2
>
>
> @Ensures supports an "old" notation for the (instance) value before the call.
> Instead of banning @Ensures for static methods, we should just not allow the
> "old" notation to appear in the contract.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)