aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/annotation/internal/Repeated.scala
Commit message (Collapse)AuthorAgeFilesLines
* Move files out of the dotty packageMartin Odersky2016-10-201-10/+0
| | | | | | | | | | - Remove unused classes Pair and Singleton. - Move classes from dotty.annotation.internal to scala.annotation.internal. The only classes remaining now are in dotty.runtime and DottyPredef. We should probably do something about them as well at some point.
* Document dotty internal AnnotationsMartin Odersky2016-02-121-0/+5
|
* Make all Dotty source files end in newline.Dmitry Petrashko2015-04-091-1/+1
|
* Changed handling of repeated parameters.Martin Odersky2014-05-081-0/+5
Previously, repeated parameters were typed as `<repeated>[T]`. The method `underlyingWithRepeated` converts `<repeated>[T]` to `Seq[T]`. This method was called in typedIdent, but the call was ineffective because the type of a repeated parameter ident is a TermRef. This led to a retyping error in Decorators.scala under -Ycheck:front. We now distinguish between the type of the internal parameter ValDef and the type of the parameter in the MethodType. The former has the type `Seq[T] @dotty.annotation.internal.repeated`, the latter has the type `<repeated>[T]`. The translation with `underlyingWithRepeated` thus becomes unneccessary.