You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "mgroovy (JIRA)" <ji...@apache.org> on 2017/12/15 00:12:00 UTC
[jira] [Created] (GROOVY-8418) getSet* property name => Cannot read
write-only property exception
mgroovy created GROOVY-8418:
-------------------------------
Summary: getSet* property name => Cannot read write-only property exception
Key: GROOVY-8418
URL: https://issues.apache.org/jira/browse/GROOVY-8418
Project: Groovy
Issue Type: Bug
Components: Compiler
Affects Versions: 2.4.7
Reporter: mgroovy
Priority: Minor
* When accessing a property whose name starts with "getSet", Groovy throws
{code}
GroovyRuntimeException: Cannot read write-only property: getSet...
{code}
* Example:
{code}
// Returns the SQL update statement representation of the DB object
GString getSetSql() { ... }
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)