Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Consider the following:
def <T> T m(T t, ... zeroOrMore) { } def obj = m(42)
When method "m" is called with just one argument, STC does not infer the type of "T".