Describe the bug
Currently the servers type checking handles generics as follows.
create hierarchy of generic classes
create concrete type of generic
subclass are update to point to new concrete version up to the root structure type
This leads to the issue of userListType not being a subclass of listType even though userListType is simply a concrete implementation of the later. Currently this is a problem for checking indexers. If all lists are simply considered userListTypes we can correctly identify that the return type should be a structure but lost the more specific type information embedded.
Describe the bug Currently the servers type checking handles generics as follows.
This leads to the issue of
userListType
not being a subclass oflistType
even thoughuserListType
is simply a concrete implementation of the later. Currently this is a problem for checking indexers. If all lists are simply considered userListTypes we can correctly identify that the return type should be a structure but lost the more specific type information embedded.