groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 02/02: fix unintended illegal access
Date Wed, 17 Apr 2019 04:16:59 GMT
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 <paulk@asert.com.au>
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)
         '''


Mime
View raw message