From users-return-3674-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Wed Jul 4 15:10:16 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id EBF67180674 for ; Wed, 4 Jul 2018 15:10:15 +0200 (CEST) Received: (qmail 98657 invoked by uid 500); 4 Jul 2018 13:10:10 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 98647 invoked by uid 99); 4 Jul 2018 13:10:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2018 13:10:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 96B37C00CB for ; Wed, 4 Jul 2018 13:10:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.265 X-Spam-Level: ** X-Spam-Status: No, score=2.265 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_INFOUSMEBIZ=0.75, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.697, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=jetbrains.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 02kb4roFo673 for ; Wed, 4 Jul 2018 13:10:04 +0000 (UTC) Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 899685F300 for ; Wed, 4 Jul 2018 13:10:04 +0000 (UTC) Received: by mail-wr0-f173.google.com with SMTP id r16-v6so2152827wrt.11 for ; Wed, 04 Jul 2018 06:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jetbrains.com; s=googleapps; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=yceh9c+5YklosW8viSDGN2WH+svEicUiaKULL+oKaas=; b=dfn0AWKgBCpQU2rXy/9a6r0U9B+bBbuqvyqc7Yk7oGvDoNJ3ETO8yRoeMWnGG9Ssbp yIRlHAW2GawIN+p3r6LhkTFjNySxfrU9i4bAyd5ZL9Jzh6GHNCva+bUy+vIx4SaAhgqw qrhOFmEZC9gRVI0agBZOZ1Mf9YndZXugNCXKw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=yceh9c+5YklosW8viSDGN2WH+svEicUiaKULL+oKaas=; b=rTYifa8In8id/SqiqeuE7L98lcmeP5L5ClBVroGMlBNW9/uCPe3+8GyPcijMijKKb2 QIhfFZBLFT9qe5zeF9pHPzfjGl1zRYZQ5xvU3WuQF5DzwHhH3ZZYtKH5R7mcdyWQAlN5 6WLor9555ci9ABDdo30VutjMouGzJEf/wpShzkI4Nu69E9euxniKI3VwC9H8NtTs3xD8 vSTTK49rDrGDsUSQf9aIfBU2GR1hwchBpsVrgI8rHTTQLquU4MZGpb30gRHH0vbybVhE TM3Cs41JOFKf7F9rvs/XfEeIi3sxTlhiVEg5Dti/ro9JqOn2NhnY8KwEat7BkcBFYfje oSVQ== X-Gm-Message-State: APt69E0ZYiBD+wm7K17ONHkP9U2zB9R7iZskjpPbuVN7eI6ooeLCsMur Pfb99FLEA78mzP3jyS9HOdrv1w== X-Google-Smtp-Source: AAOMgpcXK1uJVzlr8oZ+t1Itisuw3OXwnVbNJjt5JHs34LvEZjI3ByMnIoAQywnOlnGZHYzCFv8Ldw== X-Received: by 2002:adf:8062:: with SMTP id 89-v6mr1498803wrk.221.1530709803329; Wed, 04 Jul 2018 06:10:03 -0700 (PDT) Received: from danyjb-mbp.labs.intellij.net (gw.intellij.net. [81.3.129.2]) by smtp.gmail.com with ESMTPSA id x12-v6sm6619523wre.27.2018.07.04.06.10.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jul 2018 06:10:02 -0700 (PDT) From: Daniil Ovchinnikov Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_F5E29650-C505-4EC2-ABDF-610847CE5D03" Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: About the groovy code style Date: Wed, 4 Jul 2018 16:10:01 +0300 In-Reply-To: <1530703642515-0.post@n5.nabble.com> Cc: users@groovy.incubator.apache.org To: users@groovy.apache.org References: <1530585881706-0.post@n5.nabble.com> <02ec34f9-7a73-69e0-049e-399c772b82fe@gmx.org> <1530671989042-0.post@n5.nabble.com> <4C221287-2B8A-4ABF-84A1-F9FB804F2459@jetbrains.com> <1530703642515-0.post@n5.nabble.com> X-Mailer: Apple Mail (2.3445.8.2) --Apple-Mail=_F5E29650-C505-4EC2-ABDF-610847CE5D03 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Each introduced change make tooling more complicated. While some = constructs become invalid in newer compiler, IntelliJ still has to = support all Groovy versions. So in IntelliJ we will continue to parse as in old version, but I=E2=80=99= ll have to add error highlighting and tweak formatter for 3.0, unless = you decide to support such corner cases in 3.0.=20 =E2=80=94 Daniil Ovchinnikov JetBrains > On 4 Jul 2018, at 14:27, Daniel.Sun wrote: >=20 > Yep. Daniil. >=20 >=20 >=20 > ----- > Daniel Sun=20 > Apache Groovy committer=20 > Blog: http://blog.sunlan.me=20 > Twitter: @daniel_sun=20 >=20 > -- > Sent from: = http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html --Apple-Mail=_F5E29650-C505-4EC2-ABDF-610847CE5D03 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Each introduced change make tooling more complicated. While = some constructs become invalid in newer compiler, IntelliJ still has to = support all Groovy = versions.

So = in IntelliJ we will continue to parse as in old version, but I=E2=80=99ll = have to add error highlighting and tweak formatter for 3.0, unless you = decide to support such corner cases in 3.0. 
=E2=80=94

Daniil Ovchinnikov
JetBrains


On 4 Jul 2018, at 14:27, Daniel.Sun <sunlan@apache.org> = wrote:

Yep. Daniil.



-----
Daniel Sun
Apache Groovy = committer
Blog: http://blog.sunlan.me
Twitter: @daniel_sun =

--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html

= --Apple-Mail=_F5E29650-C505-4EC2-ABDF-610847CE5D03--