You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/04/17 04:16:59 UTC
[groovy] 02/02: fix unintended illegal access
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 <pa...@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)
'''