aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/singletonOrs.scala
Commit message (Collapse)AuthorAgeFilesLines
* Disallow singleton types in unionsMartin Odersky2016-10-111-0/+6
For the moment, we do not know how to handle something like 1 | 2 or x.type | y.type correctly. So it's better to disallow these situations until we find a proper solution.