From commits-return-8306-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Wed Apr 17 04:16:58 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2F3D2180630 for ; Wed, 17 Apr 2019 06:16:58 +0200 (CEST) Received: (qmail 56284 invoked by uid 500); 17 Apr 2019 04:16:57 -0000 Mailing-List: contact commits-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 commits@groovy.apache.org Received: (qmail 56262 invoked by uid 99); 17 Apr 2019 04:16:57 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2019 04:16:57 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 3CC0E8A0A3; Wed, 17 Apr 2019 04:16:57 +0000 (UTC) Date: Wed, 17 Apr 2019 04:16:59 +0000 To: "commits@groovy.apache.org" Subject: [groovy] 02/02: fix unintended illegal access MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: paulk@apache.org In-Reply-To: <155547461704.3012.2627455010731720312@gitbox.apache.org> References: <155547461704.3012.2627455010731720312@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: groovy X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: cd7ab7d70b39e8585e7b6f4e4236ca0fee9895fc X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20190417041657.3CC0E8A0A3@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/groovy.git commit cd7ab7d70b39e8585e7b6f4e4236ca0fee9895fc Author: Paul King AuthorDate: Wed Apr 17 14:16:51 2019 +1000 fix unintended illegal access --- .../transform/stc/SocketGMClosureParamTypeInferenceSTCTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/groovy/transform/stc/SocketGMClosureParamTypeInferenceSTCTest.groovy b/src/test/groovy/transform/stc/SocketGMClosureParamTypeInferenceSTCTest.groovy index aca978a..ddd1c4a 100644 --- a/src/test/groovy/transform/stc/SocketGMClosureParamTypeInferenceSTCTest.groovy +++ b/src/test/groovy/transform/stc/SocketGMClosureParamTypeInferenceSTCTest.groovy @@ -34,7 +34,7 @@ class SocketGMClosureParamTypeInferenceSTCTest extends StaticTypeCheckingTestCas assert !it.closed } } - ServerSocket s = [bound:{true}, accept: {[:] as Socket}] as ServerSocket + ServerSocket s = [isBound:{true}, accept: {[:] as Socket}] as ServerSocket foo(s) bar(s) '''