You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/02/17 16:48:00 UTC
[jira] [Created] (GROOVY-10501) Java compat: support type arguments for constructor call
Eric Milles created GROOVY-10501:
------------------------------------
Summary: Java compat: support type arguments for constructor call
Key: GROOVY-10501
URL: https://issues.apache.org/jira/browse/GROOVY-10501
Project: Groovy
Issue Type: Bug
Reporter: Eric Milles
Consider the following:
{code:java}
class Pojo {
public <T> Pojo(T t) {
}
}
{code}
Java supports explicit type arguments via {{new <Type>Pojo(null)}}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)