[
https://issues.apache.org/jira/browse/GROOVY-12052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18084636#comment-18084636
]
ASF GitHub Bot commented on GROOVY-12052:
-----------------------------------------
testlens-app[bot] commented on PR #2573:
URL: https://github.com/apache/groovy/pull/2573#issuecomment-4585367811
## ✅ All tests passed ✅
🏷️ Commit: f6d87019510118fd1c39f5c872de7dd075a67c56
▶️ Tests: 96183 executed
⚪️ Checks: 30/30 completed
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
> 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
>
> @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)