Return-Path: X-Original-To: apmail-groovy-notifications-archive@minotaur.apache.org Delivered-To: apmail-groovy-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8972418BFF for ; Thu, 6 Aug 2015 03:17:07 +0000 (UTC) Received: (qmail 69739 invoked by uid 500); 6 Aug 2015 03:17:07 -0000 Delivered-To: apmail-groovy-notifications-archive@groovy.apache.org Received: (qmail 69712 invoked by uid 500); 6 Aug 2015 03:17:07 -0000 Mailing-List: contact notifications-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.incubator.apache.org Delivered-To: mailing list notifications@groovy.incubator.apache.org Received: (qmail 69703 invoked by uid 99); 6 Aug 2015 03:17:07 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 03:17:07 +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 D81FBDAC96 for ; Thu, 6 Aug 2015 03:17:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.678 X-Spam-Level: * X-Spam-Status: No, score=1.678 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.102] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ivEDJh95Fah9 for ; Thu, 6 Aug 2015 03:17:06 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 6097024B15 for ; Thu, 6 Aug 2015 03:17:05 +0000 (UTC) Received: (qmail 69649 invoked by uid 99); 6 Aug 2015 03:17:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 03:17:04 +0000 Date: Thu, 6 Aug 2015 03:17:04 +0000 (UTC) From: "Paul King (JIRA)" To: notifications@groovy.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (GROOVY-7529) Fix up transforms (apart from TupleConstructor) which are affected by empty includes default MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GROOVY-7529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King resolved GROOVY-7529. ------------------------------- Resolution: Fixed Fix Version/s: 2.5.0-beta-1 > Fix up transforms (apart from TupleConstructor) which are affected by empty includes default > -------------------------------------------------------------------------------------------- > > Key: GROOVY-7529 > URL: https://issues.apache.org/jira/browse/GROOVY-7529 > Project: Groovy > Issue Type: Bug > Reporter: Keegan Witt > Assignee: Paul King > Labels: breaking_change > Fix For: 2.5.0-beta-1 > > > I know this is a bit of an edge case, but I find the behavior doesn't follow what one would expect > {code:java} > assert Cat.class.declaredConstructors.size() == 1 // fails > @groovy.transform.TupleConstructor(includes=[]) > class Cat { > String name > int age > } > {code} > This is a CLONE to cover the other transforms. TupleConstructor was fixed in GROOVY-7523. -- This message was sent by Atlassian JIRA (v6.3.4#6332)