aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/annot.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix parsing annotation on function typeGuillaume Martres2017-02-121-0/+1
|
* Remove overloaded constructor for annotationsGuillaume Martres2016-07-271-1/+1
| | | | | | This lead to inference failures when separately compiling t1751 and t294, this did not happen under joint compilation because JavaParser does not create the overloaded constructor
* 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