Community
Participate
Working Groups
def <T> T foo(Class<T> clazz) { clazz.newInstance } def void test(Class<?> clazz) { foo(clazz) } clazz is marked as an invalid argument to foo(). Class<? extends Object> is ok.
Seems to be related to the JvmModelInferrer. Class<?> has to become Class<? extends Object> in the inferred model (similar to the implicit 'extends Object')
Already resolved
Closing all bugs that were set to RESOLVED before Neon.0