You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2019/11/25 23:53:00 UTC
[jira] [Assigned] (GROOVY-8683) CLONE - Cannot qualify path
expression with soft keyword ("def" case)
[ https://issues.apache.org/jira/browse/GROOVY-8683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun reassigned GROOVY-8683:
----------------------------------
Assignee: (was: Daniel Sun)
> CLONE - Cannot qualify path expression with soft keyword ("def" case)
> ---------------------------------------------------------------------
>
> Key: GROOVY-8683
> URL: https://issues.apache.org/jira/browse/GROOVY-8683
> Project: Groovy
> Issue Type: Bug
> Components: parser-antlr4
> Affects Versions: 3.0.0-alpha-2
> Reporter: Daniil Ovchinnikov
> Priority: Major
>
> {{in.foo}} (and others) in valid path expression in Groovy < 3.0.
> The following code is parsed and run properly in previous versions, but fails in 3.0:
> {code}
> def delegate = new Object() {
> def getProperty(String name) {
> println name
> return this
> }
> }
> delegate.with {
> def.foo
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)