[
https://issues.apache.org/jira/browse/GROOVY-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15840873#comment-15840873
]
ASF GitHub Bot commented on GROOVY-8066:
----------------------------------------
GitHub user paulk-asert opened a pull request:
https://github.com/apache/groovy/pull/482
GROOVY-8066: protected fields should be disallowed in traits
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/paulk-asert/groovy groovy8066
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/groovy/pull/482.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #482
----
commit 5de625aac7e172721030d464ceb5e6efda02ecf5
Author: paulk <[email protected]>
Date: 2017-01-27T02:52:47Z
GROOVY-8066: protected fields should be disallowed in traits
----
> protected fields should be disallowed in traits
> -----------------------------------------------
>
> Key: GROOVY-8066
> URL: https://issues.apache.org/jira/browse/GROOVY-8066
> Project: Groovy
> Issue Type: Bug
> Environment: We already don't do anything sensible wrt "protected"
> but should instead give a specific error message just like we do for
> protected methods.
> Reporter: Paul King
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)