Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 220B5200D23 for ; Thu, 5 Oct 2017 07:18:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 20751160BD7; Thu, 5 Oct 2017 05:18:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8DC441609DD for ; Thu, 5 Oct 2017 07:18:30 +0200 (CEST) Received: (qmail 19661 invoked by uid 500); 5 Oct 2017 05:18:29 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 19651 invoked by uid 99); 5 Oct 2017 05:18:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2017 05:18:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 5B981C65DD for ; Thu, 5 Oct 2017 05:18:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.471 X-Spam-Level: *** X-Spam-Status: No, score=3.471 tagged_above=-999 required=6.31 tests=[FORGED_HOTMAIL_RCVD2=1.187, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 4mcKgLQy5BPL for ; Thu, 5 Oct 2017 05:18:26 +0000 (UTC) Received: from n5.nabble.com (n5.nabble.com [162.253.133.81]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E40545FC8A for ; Thu, 5 Oct 2017 05:18:25 +0000 (UTC) Received: from n5.nabble.com (localhost [127.0.0.1]) by n5.nabble.com (Postfix) with ESMTP id AF8ADC3641F for ; Wed, 4 Oct 2017 22:18:25 -0700 (MST) Date: Wed, 4 Oct 2017 22:18:25 -0700 (MST) From: Daniel Sun To: dev@groovy.incubator.apache.org Message-ID: <1507180705716-0.post@n5.nabble.com> In-Reply-To: <1506483468614-0.post@n5.nabble.com> References: <1506483468614-0.post@n5.nabble.com> Subject: Re: About if statement in the right hand of assignment statement MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 05 Oct 2017 05:18:31 -0000 The new feature has been implemented, it will be available in 3.0.0 and 2.6.0: https://github.com/apache/groovy/commit/35ae8e484020f2d11b2dd9c7efa3740ee527fa70 Cheers, Daniel.Sun -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html