Hi Paul,
+1 from me.
I downloaded the source distribution and ran tests, all tests pass on
my machine. Here is the my machine info:
------------------------------------------------------------
Gradle 4.7
------------------------------------------------------------
Build time: 2018-04-18 09:09:12 UTC
Revision: b9a962bf70638332300e7f810689cb2febbd4a6c
Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM: 1.8.0_152 (Oracle Corporation 25.152-b16)
OS: Windows 10 10.0 amd64
In addition, I ran the following code via groovyConsole and groovySh,
everything is OK.
```
@groovy.transform.CompileStatic
class A<T extends List<E>, E extends Number> {
E getFirstNum(T numList) {
numList.get(0)
}
static void main(args) {
def a = new A<ArrayList<Integer>, Integer>()
def numList = new ArrayList<Integer>()
numList.add(123)
assert 123 == a.getFirstNum(numList)
}
}
```
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html