eclipse-archived/ceylon

Types.classForType returns "class [Ljava.lang.Object" for ObjectArray

Closed this issue · 1 comments

Next code

    print(Types.classForType<ObjectArray<String>>()); 

prints class [Ljava.lang.Object; instead of class [Lceylon.language.String;

Workaround is next:

    print(Types.classForInstance(ObjectArray<String>(0)));

Fixed, thanks for reporting!