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
since it's possible that A is not a subtype of AnyRef at all in certain contexts. So, generating a bridge bar$mcI$sp for bar will contain an expression which is not type-safe. Meaning that instead of the compiler failing, an error should be reported here.
The following mixture of attempting a phantom-type constraint + specialization explodes at compile time:
With the following exception:
Remove any one of the type bounds makes the code succeed. Removing the @Specialize annotation also makes the code succeed.
The text was updated successfully, but these errors were encountered: