summaryrefslogtreecommitdiff
path: root/test/files/neg/t8157.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-8157 Make overloading, defaults restriction PolyType awareJason Zaugg2014-01-171-0/+4
Named/Default args levies an implementation restriction that only one overloaded alternative may declare defaults. But, this restriction failed to consider polymorphic methods. Rather than matching on MethodType, this commit uses `Type#paramms`, which handles PolyTypes and curried MethodTypes in one fell swoop.