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/19 01:43:46 UTC
[groovy] 05/17: fix unintended illegal access
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 9b93f95232ca27629554445fc37bba2f72e3d178
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)
'''