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 CE165200B0F for ; Fri, 3 Jun 2016 06:21:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CCC5C160A52; Fri, 3 Jun 2016 04:21:00 +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 195F7160A51 for ; Fri, 3 Jun 2016 06:20:59 +0200 (CEST) Received: (qmail 31552 invoked by uid 500); 3 Jun 2016 04:20:59 -0000 Mailing-List: contact notifications-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 notifications@groovy.apache.org Received: (qmail 31542 invoked by uid 99); 3 Jun 2016 04:20:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2016 04:20:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 220FE2C033A for ; Fri, 3 Jun 2016 04:20:59 +0000 (UTC) Date: Fri, 3 Jun 2016 04:20:59 +0000 (UTC) From: "Paul King (JIRA)" To: notifications@groovy.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GROOVY-7852) Inconsistent checking of final for multi-assignments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 03 Jun 2016 04:21:01 -0000 [ https://issues.apache.org/jira/browse/GROOVY-7852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King updated GROOVY-7852: ------------------------------ Component/s: Compiler > Inconsistent checking of final for multi-assignments > ---------------------------------------------------- > > Key: GROOVY-7852 > URL: https://issues.apache.org/jira/browse/GROOVY-7852 > Project: Groovy > Issue Type: Bug > Components: Compiler > Reporter: Paul King > Assignee: Paul King > Fix For: 2.5.0-beta-1 > > > The following code passes but should fail final variable analysis: > {code} > final x = 3 > def y = 4 > (x, y) = [30, 40] > assert x + y == 70 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)