You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently represent "class literals" and "class types" differently, which differ in how they handle generic classes. For a generic class, the class literal is unspecialized, and the class type is specialized.
We did not do the same thing for functions, thinking that it wasn't needed since specialized functions are ephemeral, only needed for the duration of checking a particular call of the specialized function. This is not true, though, for a method of a generic class, which should have the specialization of the class applied to its signature. (It's possible to "persist" this "generic" function via e.g. C[int].method.)
We should update the function representation to encode the same distinction. This will help with the property test failure in #459.