Allow use of as
and is
on arbitrary expressions, not just the parameter
#457
Labels
as
and is
on arbitrary expressions, not just the parameter
#457
Currently,
as
is defined as taking only one argument: the type name; it can only be applied to the parameter. This:is defined as the equivalent of:
But there is no way to express the equivalent of the following:
Either of the following:
fails with:
The same thing applies to
is
. Either of the following:fails with the above error.
The text was updated successfully, but these errors were encountered: