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
Compiles fine and should continue to do so, because the duplication isn't explicit. Since qux inherits bar and baz which each inherit foo, that's fine, and the compiler should internally dedup and only inherit foo once.
The second case is working correctly today, but we want to ensure that it continues working when we cause the first case to error.
The text was updated successfully, but these errors were encountered:
This currently compiles fine:
It should error and tell the user that "foo" was listed twice when inheriting baz.
On the other hand, something like this:
Compiles fine and should continue to do so, because the duplication isn't explicit. Since
qux
inheritsbar
andbaz
which each inheritfoo
, that's fine, and the compiler should internally dedup and only inheritfoo
once.The second case is working correctly today, but we want to ensure that it continues working when we cause the first case to error.
The text was updated successfully, but these errors were encountered: