That answers the 2.6 question, thank you Daniil :-)mg -------- Ursprüngliche Nachricht --------Von: Daniil Ovchinnikov <daniil.ovchinni...@jetbrains.com> Datum: 22.03.18 13:59 (GMT+01:00) An: users@groovy.apache.org Betreff: Re: Groovy 3 lambda, method reference, default methods It will be deduced it from library with a single switch to use Parrot in 2.6.There is no other reason not to use library version, since Groovy can’t cross compile classes to run with old Groovy versions.
— Daniil Ovchinnikov Software Developer JetBrains jetbrains.com “Drive to develop” On 22 Mar 2018, at 15:42, mg <mg...@arscreat.com> wrote: Will Groovy 3.0 feature support be configurable (as for Java), or will it be deduced from Groovy libs used, ... ? -------- Ursprüngliche Nachricht --------Von: Daniil Ovchinnikov <daniil.ovchinni...@jetbrains.com> Datum: 22.03.18 12:41 (GMT+01:00) An: users@groovy.apache.org Betreff: Re: Groovy 3 lambda, method reference, default methods IntelliJ will support Groovy 3 but with own parser. - using the parser provided by Groovy library restricts support to that library version; - compiler parsers are usually non-recoverable, but in IntelliJ we want to provide ability to work with broken code as much as possible, so we have own parsers for (almost) each language. — Daniil Ovchinnikov Software Developer JetBrains jetbrains.com “Drive to develop” > On 21 Mar 2018, at 22:30, mg <mg...@arscreat.com> wrote: > > I guess the Groovy 3.0/3.0-- (aka 2.6) syntax elements support will be > switchable in IntelliJ, anything else would make little sense to me. > But we have the expert on this mailing list, who should be able to tell us... > :-) > mg > > -------- Ursprüngliche Nachricht -------- > Von: "Daniel.Sun" <sun...@apache.org> > Datum: 21.03.18 17:10 (GMT+01:00) > An: us...@groovy.incubator.apache.org > Betreff: RE: Groovy 3 lambda, method reference, default methods > > You can write Java8 style code(e.g. lambda, method/constructor reference, > etc.) when Parrot parser is enabled :-) > See https://github.com/danielsun1106/groovy-parser > > > > Is there then a major difference in language between 2.6+Parrot and 3.0? > > 3.0 enables Parrot parser by default, so no differences. > > > > I wonder if the IntelliJ support ticket should be updated to say support > > new language features in Groovy 2.6 as well? > > I see the title contains "Groovy 3", so I am not sure if it will support 2.6 > > > Cheers, > Daniel.Sun > > > > > -- > Sent from: http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html