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 5F860200D6F for ; Mon, 18 Dec 2017 01:19:39 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5DE1B160C28; Mon, 18 Dec 2017 00:19:39 +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 A1DBA160C17 for ; Mon, 18 Dec 2017 01:19:38 +0100 (CET) Received: (qmail 70243 invoked by uid 500); 18 Dec 2017 00:19:37 -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 70233 invoked by uid 99); 18 Dec 2017 00:19:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2017 00:19:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3281C1805E0 for ; Mon, 18 Dec 2017 00:19:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.701 X-Spam-Level: X-Spam-Status: No, score=-0.701 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id w8emUziZl7Js for ; Mon, 18 Dec 2017 00:19:35 +0000 (UTC) Received: from mx17lb.world4you.com (mx17lb.world4you.com [81.19.149.127]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 91B935F297 for ; Mon, 18 Dec 2017 00:19:35 +0000 (UTC) Received: from [84.112.214.51] (helo=[192.168.0.24]) by mx17lb.world4you.com with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256) (Exim 4.84_2) (envelope-from ) id 1eQj9U-0003ZF-4o; Mon, 18 Dec 2017 01:19:28 +0100 Subject: Re: @CompileStatic null iteration To: users@groovy.apache.org References: <2c3cb859-44a5-1aa6-a60d-8db79d001254@gmx.org> Cc: Jochen Theodorou From: MG Message-ID: <359256cf-c55c-5935-2e32-48dd15ebd68a@arscreat.com> Date: Mon, 18 Dec 2017 01:19:27 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <2c3cb859-44a5-1aa6-a60d-8db79d001254@gmx.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-SA-Do-Not-Run: Yes X-AV-Do-Run: Yes X-SA-Exim-Connect-IP: 84.112.214.51 X-SA-Exim-Mail-From: mgbiz@arscreat.com X-SA-Exim-Scanned: No (on mx17lb.world4you.com); SAEximRunCond expanded to false archived-at: Mon, 18 Dec 2017 00:19:39 -0000 On 15.12.2017 20:29, Jochen Theodorou wrote: > On 15.12.2017 16:44, mg wrote: >> "If we want to keep static Groovy near Java as much as possible..." - >> who wants that ? ;-) Was just kidding, of course, as you know for Minecraft modding I very much want that. > >> Btw, do we already have an official "@CompileStatic gotchas" section >> somewhere ? > > I think not. Feel free to add one ;) > I feel this should foremost go into the @CompileStatic source code groovy doc - do you agree ? (Btw, when I checked the Groovy webpage documentation section (http://groovy-lang.org/metaprogramming.html#xform-CompileStatic), the "See section on type checking for details" link http://groovy-lang.org/metaprogramming.html#section-typechecked) seems to be broken...) Cheers, mg