Support synthesizing generic adaptor methods for interface requirements. #5035
Labels
goal:client support
Feature or fix needed for a current slang user.
Milestone
There seems to be a corner case issue with generic return values in interfaces.
Let's pretend I had an interface like this:
This works. However, this does not:
Is it intended to begin with that a
pop
return type ofStackImpl<D-1>
satisfies the interface requirement of aIStack<D-1>
return type?If so, is it possible to support the
IStack<D-N>
case as well?The text was updated successfully, but these errors were encountered: