No variance elision in type alias substitution.

Add test with cyclic inheritance via type alias.
This commit is contained in:
Dmitry Petrov
2016-11-21 14:35:56 +03:00
parent 67fe28b8d8
commit e6fcf20cf2
10 changed files with 167 additions and 37 deletions
@@ -1,2 +1,2 @@
<!-- typeVarianceConflictInTypeAliasExpansion1 -->
Type parameter S is declared as 'out' but occurs in 'invariant' position in abbreviated type AInvOutTT<S> /* = InvOut<S, out S> */
Type parameter S is declared as 'out' but occurs in 'invariant' position in abbreviated type AInvOutTT<S> /* = InvOut<S, S> */