summaryrefslogtreecommitdiff
path: root/test/files/neg/annot-nonconst.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-6083, misleading annotation error message.Paul Phillips2013-01-261-1/+1
| | | | | | When an implicit conversion causes an apparently constant argument not to be constant, show the conversion, not the constant.
* Removed a few more @deprecated members.Paul Phillips2012-04-281-2/+2
| | | | | The ones which remain I'm not removing on purpose, as I know from experience it's more trouble than it's yet worth.
* Modified some typer logic to allow annotation a...Paul Phillips2011-03-311-1/+1
| | | | | | | | | | Modified some typer logic to allow annotation arguments for constants which don't have the form Literal(_). The current logic seems to be avoided most of the time, but scaladoc breaks when it runs into it. This closes #4301. I can't figure out from the ticket what the deal is with #2764 and what is presently happening, but it seems like this patch could only improve the situation. Review by rytz.
* Some uninteresting code related to error messag...Paul Phillips2010-10-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | Some uninteresting code related to error messages, which I'm checking in mostly because I booted the r23379 commit in a git-svn meltdown and posterity demands the message, which was: You can now use the self-type of an anonymous class as a singleton type in a pattern match ON THE MOON. Actual test case excerpt: val x4 = new { self => def f(x: Any) = x match { case _: x1.type => 1 case _: x2.type => 2 case _: x3.type => 3 case _: self.type => 4 case x: Dingus.type => x.IamDingus } } Closes #576, no review.
* fix #2122, test for #2116Lukas Rytz2009-07-051-3/+11
|
* big overhaul of annotations implementation.Lukas Rytz2009-05-301-2/+2
|
* Emit a warning if a user tries to defineLex Spoon2007-10-021-0/+6
| | | | | their own subclass of ClassfileAnnotation
* (no commit message)Lex Spoon2007-05-301-0/+4