|
| 1 | +-- [E191] Type Error: tests/neg/illegal-match-types.scala:7:23 --------------------------------------------------------- |
| 2 | +7 |type InvNesting[X] = X match // error |
| 3 | + | ^ |
| 4 | + | The match type contains an illegal case: |
| 5 | + | case Inv[Cov[t]] => t |
| 6 | + | (this error can be ignored for now with `-source:3.3`) |
| 7 | +8 | case Inv[Cov[t]] => t |
| 8 | +-- [E191] Type Error: tests/neg/illegal-match-types.scala:10:26 -------------------------------------------------------- |
| 9 | +10 |type ContraNesting[X] = X match // error |
| 10 | + | ^ |
| 11 | + | The match type contains an illegal case: |
| 12 | + | case Contra[Cov[t]] => t |
| 13 | + | (this error can be ignored for now with `-source:3.3`) |
| 14 | +11 | case Contra[Cov[t]] => t |
| 15 | +-- [E191] Type Error: tests/neg/illegal-match-types.scala:15:22 -------------------------------------------------------- |
| 16 | +15 |type AndTypeMT[X] = X match // error |
| 17 | + | ^ |
| 18 | + | The match type contains an illegal case: |
| 19 | + | case t & Seq[Any] => t |
| 20 | + | (this error can be ignored for now with `-source:3.3`) |
| 21 | +16 | case t & Seq[Any] => t |
| 22 | +-- [E191] Type Error: tests/neg/illegal-match-types.scala:22:33 -------------------------------------------------------- |
| 23 | +22 |type TypeAliasWithBoundMT[X] = X match // error |
| 24 | + | ^ |
| 25 | + | The match type contains an illegal case: |
| 26 | + | case IsSeq[t] => t |
| 27 | + | (this error can be ignored for now with `-source:3.3`) |
| 28 | +23 | case IsSeq[t] => t |
| 29 | +-- [E191] Type Error: tests/neg/illegal-match-types.scala:29:34 -------------------------------------------------------- |
| 30 | +29 |type TypeMemberExtractorMT[X] = X match // error |
| 31 | + | ^ |
| 32 | + | The match type contains an illegal case: |
| 33 | + | case TypeMemberAux[t] => t |
| 34 | + | (this error can be ignored for now with `-source:3.3`) |
| 35 | +30 | case TypeMemberAux[t] => t |
| 36 | +-- [E191] Type Error: tests/neg/illegal-match-types.scala:40:35 -------------------------------------------------------- |
| 37 | +40 |type TypeMemberExtractorMT2[X] = X match // error |
| 38 | + | ^ |
| 39 | + | The match type contains an illegal case: |
| 40 | + | case TypeMemberAux2[t] => t |
| 41 | + | (this error can be ignored for now with `-source:3.3`) |
| 42 | +41 | case TypeMemberAux2[t] => t |
0 commit comments