This message was deleted.
# compiler
s
This message was deleted.
y
If you don't have type parameters, I think they're the same IIRC, `defaultType`is the type inside the class, I.e. if you have
class Foo<T>
the default type is
Foo<T>
(yes including the type parameter).
constructType
actually creates a type and lets you pass in type arguments, so it's almost surely what you want here. Purely operating from memory though. I'd Go To Definition on each and see the implementation