Blogged:  https://blogs.apache.org/groovy/entry/groovy-3-0-0-beta

On Sun, May 12, 2019 at 7:53 AM Paul King <pa...@asert.com.au> wrote:

> Eric, when trying to build?
>
> On Sun, May 12, 2019 at 5:54 AM Milles, Eric (TR Tech, Content & Ops) <
> eric.mil...@thomsonreuters.com> wrote:
>
>> I am getting the following error when processing the latest parrot parser
>> grammar.  Is anyone else seeing this?
>>
>>
>>         [java] error(123): GroovyParser.g4:788:93: rule alt label
>> 'castExprAlt' redefined in rule 'expression', originally in rule
>> 'castOperandExpression'
>>         [java] error(123): GroovyParser.g4:789:93: rule alt label
>> 'postfixExprAlt' redefined in rule 'expression', originally in rule
>> 'castOperandExpression'
>>         [java] error(123): GroovyParser.g4:792:93: rule alt label
>> 'unaryNotExprAlt' redefined in rule 'expression', originally in rule
>> 'castOperandExpression'
>>         [java] error(123): GroovyParser.g4:798:93: rule alt label
>> 'unaryAddExprAlt' redefined in rule 'expression', originally in rule
>> 'castOperandExpression'
>>
>>
>> The rule alt labels are indeed repeated:
>>
>>
>> expression
>>
>>     // qualified names, array expressions, method invocation, post
>> inc/dec, type casting (level 1)
>>
>>     // The cast expression must be put before pathExpression to resovle
>> the ambiguities between type casting and call on parentheses expression,
>> e.g. (int)(1 / 2)
>>
>>     :   castParExpression castOperandExpression
>>                    #castExprAlt
>>
>>     |   postfixExpression
>>                    #postfixExprAlt
>>
>>
>>     // ~(BNOT)/!(LNOT) (level 1)
>>
>>     |   (BITNOT | NOT) nls expression
>>                    #unaryNotExprAlt
>>
>>
>> ...
>>
>>
>> castOperandExpression
>>
>> options { baseContext = expression; }
>>
>>     :   castParExpression castOperandExpression
>>                    #castExprAlt
>>
>>     |   postfixExpression
>>                    #postfixExprAlt
>>
>>     // ~(BNOT)/!(LNOT) (level 1)
>>
>>     |   (BITNOT | NOT) nls castOperandExpression
>>                   #unaryNotExprAlt
>>
>>     // ++(prefix)/--(prefix)/+(unary)/-(unary) (level 3)
>>
>>     |   op=(INC | DEC | ADD | SUB) castOperandExpression
>>                   #unaryAddExprAlt
>>
>>     ;
>>
>>
>>
>>
>>
>> ------------------------------
>> *From:* Paul King <pa...@apache.org>
>> *Sent:* Friday, May 10, 2019 10:39 AM
>> *To:* dev@groovy.apache.org; us...@groovy.apache.org; annou...@apache.org
>> *Subject:* [ANNOUNCE] Apache Groovy 3.0.0-beta-1 Released
>>
>> Dear community,
>>
>> The Apache Groovy team is pleased to announce version 3.0.0-beta-1 of
>> Apache Groovy.
>> Apache Groovy is a multi-faceted programming language for the JVM.
>> Further details can be found at the
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__groovy.apache.org&d=DwIBaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=iNh9faJ-wCXufljVbqv4UsFIpJA71TiipqKBJwCXH2Q&s=W0ZGK-2EFf7uE4LDi98Bn546HfTXBfLiYxKiGbT3bTQ&e=
>> website.
>>
>> This is a pre-release of a new version of Groovy.
>> We greatly appreciate any feedback you can give us when using this
>> version.
>>
>> This release includes 109 bug fixes/improvements as outlined in the
>> changelog:
>>
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_secure_ReleaseNote.jspa-3FprojectId-3D12318123-26version-3D12344761&d=DwIBaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=iNh9faJ-wCXufljVbqv4UsFIpJA71TiipqKBJwCXH2Q&s=Nj5OWjfloFtOZho-Z2RfVydNwkoCRkr2mnBF1HIqOKY&e=
>>
>> Sources, convenience binaries, downloadable documentation and an SDK
>> bundle can be found at:
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__groovy.apache.org_download.html&d=DwIBaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=iNh9faJ-wCXufljVbqv4UsFIpJA71TiipqKBJwCXH2Q&s=55DQLrlQlTxINAXqJ25GcDnEoqpNlyQr2xyVUzXttBs&e=
>> We recommend you verify your installation using the information on that
>> page.
>>
>> Jars are also available within the major binary repositories.
>>
>> We welcome your help and feedback and in particular want
>> to thank everyone who contributed to this release.
>>
>> For more information on how to report problems, and to get involved,
>> visit the project website at
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__groovy.apache.org_&d=DwIBaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=iNh9faJ-wCXufljVbqv4UsFIpJA71TiipqKBJwCXH2Q&s=8Zb4qLEpuuI0TZw61zEvC35BWU281nb5I-Pym0zjjq8&e=
>>
>> Best regards,
>>
>> The Apache Groovy team.
>>
>

Reply via email to