You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2018/05/11 09:52:54 UTC
groovy git commit: Refine the test for "GROOVY-6742: Groovy is unable
to resolve this Generics use case"
Repository: groovy
Updated Branches:
refs/heads/master a466ec189 -> ca4084661
Refine the test for "GROOVY-6742: Groovy is unable to resolve this Generics use case"
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/ca408466
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/ca408466
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/ca408466
Branch: refs/heads/master
Commit: ca40846618a5c0e59b8ac39dc6f1f953152130de
Parents: a466ec1
Author: sunlan <su...@apache.org>
Authored: Fri May 11 17:52:46 2018 +0800
Committer: sunlan <su...@apache.org>
Committed: Fri May 11 17:52:46 2018 +0800
----------------------------------------------------------------------
src/test/groovy/bugs/groovy6742/Groovy6742Bug.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/ca408466/src/test/groovy/bugs/groovy6742/Groovy6742Bug.groovy
----------------------------------------------------------------------
diff --git a/src/test/groovy/bugs/groovy6742/Groovy6742Bug.groovy b/src/test/groovy/bugs/groovy6742/Groovy6742Bug.groovy
index 61f5f5d..fcc953a 100644
--- a/src/test/groovy/bugs/groovy6742/Groovy6742Bug.groovy
+++ b/src/test/groovy/bugs/groovy6742/Groovy6742Bug.groovy
@@ -71,7 +71,7 @@ class Groovy6742Bug extends GroovyTestCase {
assertScript '''
package groovy.bugs.groovy6742
- //@groovy.transform.TypeChecked
+ @groovy.transform.TypeChecked
class Issue3 {
public static <F, T> FutureCallback<F> deferredCallback(DeferredResult<T> deferredResult, final Function<F, T> function) {
return new FutureCallback<F>() {