summaryrefslogtreecommitdiff
path: root/test/files/jvm/annotations.scala
Commit message (Collapse)AuthorAgeFilesLines
* Shored up a hidden dealiasing dependency.Paul Phillips2012-12-281-0/+6
| | | | | | | | | | | | | | | | | | | Like the comment says: // This way typedNew always returns a dealiased type. This // used to happen by accident for instantiations without type // arguments due to ad hoc code in typedTypeConstructor, and // annotations depended on it (to the extent that they worked, // which they did not when given a parameterized type alias // which dealiased to an annotation.) typedTypeConstructor // dealiases nothing now, but it makes sense for a "new" to // always be given a dealiased type. PS: Simply running the test suite is becoming more difficult all the time. Running "ant test" includes time consuming activities of niche interest such as all the osgi tests, but test.suite manages to miss the continuations tests.
* fix SI-5682Lukas Rytz2012-05-021-1/+3
|
* Moved meta annotations to annotation.meta, plus.Paul Phillips2011-10-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It took me a long time to find a trivial error while adjusting the annotation packages, so I spent even longer trying to make sure next time it would take me less time. It's the usual business of eliminating duplication and unnecessary indirection. Behavioral note: there was no consistency or deducible reasoning regarding when annotation checks would be performed against the typeSymbol directly (thus excluding annotation subclasses) or when they would do a subclass check. I saw no reason it shouldn't always be a subclass check; if the annotation isn't supposed to be subclassed it should be final, and if it is, then the subclasses had probably better not stop exhibiting the behavior of the base class. Example: this now draws deprecated warnings, but did not before. class bippy extends deprecated("hi mom", "burma shave") @bippy def f = 5 (The deprecation message isn't printed so we're not there yet, but closer.) There is some new internal documentation on annotations, sadly lacking in my famous ascii diagrams, and some new conveniences. Review by rytz.
* Shuffling classes around.Paul Phillips2011-10-011-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old Man Reflection is coming home and he's not going to like finding out a bunch of beans have moved into his reflecting room. We had better evict those guys before he blows his stack. scala.reflect.*Bean* --> scala.beans.* scala.beans, that's kind of a fancy package name for some beans. I figure it's time to start fishing or cutting bait on this kind of thing. I don't even know what beans are, but if we're going to have them in the mainline, the least surprising place to find them is scala.beans. If we don't want to put them in scala.beans for whatever reason, then I say they don't belong in trunk at all. Bonus round: scala.annotation.target --> scala.beans.meta I don't know if there is any more unfortunate name for a package possible than "target". Maybe ".svn" or ".git" if you could have dots in package names. Package CVS wouldn't hit too hard these days. Package lib_managed? I'll try to come up with something. In any case this golden opportunity could not be squandered. There is a new starr included, because GenJVM contains all kinds of shooting-from-the-hip Bean-related name hardcoding. (Yes, still. I ran out of stones. So a few birds escape with their lives... this time.)
* Removing the code which has been deprecated sin...Paul Phillips2011-08-151-1/+1
| | | | | | | Removing the code which has been deprecated since 2.8.0. Contributed by Simon Ochsenreither, although deleting code is such fun one hesitates to call it a contribution. Still, we will. Closes SI-4860, no review.
* close #3400. no reviewLukas Rytz2010-05-071-0/+19
|
* revert the revert of r21791 (fix constructor pa...Lukas Rytz2010-05-051-5/+26
| | | | | | revert the revert of r21791 (fix constructor parameter annotations). close #3390. together with a new starr it builds. no review.
* revert commit that probably broke the build due...Adriaan Moors2010-05-041-26/+5
| | | | | | | revert commit that probably broke the build due to a bug in closure elimination revert commit that reverted the commit that probably didn't break the build
* fix and test where constructor parameter annota...Lukas Rytz2010-05-041-5/+26
| | | | | fix and test where constructor parameter annotations end up. no review
* close #3338, close #3334, close #3345.Lukas Rytz2010-04-251-0/+3
|
* fix windows / ibm nightlyLukas Rytz2009-09-301-2/+2
|
* improved annotations copying (documentation, mo...Lukas Rytz2009-09-291-0/+11
| | | | | | improved annotations copying (documentation, moved meta-annotations, added tests)
* fix annotations testLukas Rytz2009-06-071-1/+1
|
* big overhaul of annotations implementation.Lukas Rytz2009-05-301-4/+5
|
* 1.4-related cleanup and reorganization.Antonio Cunei2009-05-151-0/+159
Removed a bunch of now useless 1.4 code, merged back jvm5-specific partest tests into the general jvm tests, documentation updates.