aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/annot.scala
Commit message (Collapse)AuthorAgeFilesLines
* Make normalizeToRef survive annotated typesMartin Odersky2015-05-211-1/+1
| | | | Did not handle this case before.
* Disallow {...} arguments for annotationsMartin Odersky2015-05-211-0/+13
| | | | | This mimics scalac's behavior (but not the official syntax; in fact the official syntax seems to be ambiguous.
* Fixed testMartin Odersky2014-12-191-3/+1
|
* Allow for varargs passed to Java annotation constructors.Martin Odersky2014-12-191-3/+5
|
* Java annotations parsing problemDmitry Petrashko2014-11-221-1/+5
| | | | | | | | | | Annotations in java could be compiled as-if array-only annotation had <repeated> arguments constructor. That isn't true for scala. Also, type checking creation of single-element array requires implicit resolution to provide ClassTag. This makes problems while reading deferred annotation.
* Add the right constructor to Java annotationsMartin Odersky2014-11-221-0/+11