Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.0
-
None
Description
The following template fails at runtime:
messages.each { message -> yield message.summary }
If messages is of type Message where Message is:
class Message { private String summary String getSummary() { return summary } void setSummary(final String summary) { this.summary = summary } }
It fails with:
Access to java.lang.Object#summary is forbidden