summaryrefslogtreecommitdiff
path: root/test/files/jvm/manifests.check
Commit message (Collapse)AuthorAgeFilesLines
* implements reification of tough typesEugene Burmako2012-04-141-0/+56
|
* Next generation of macrosEugene Burmako2012-04-121-55/+0
| | | | | | | | | | | | | | | | | | | | | | Implements SIP 16: Self-cleaning macros: http://bit.ly/wjjXTZ Features: * Macro defs * Reification * Type tags * Manifests aliased to type tags * Extended reflection API * Several hundred tests * 1111 changed files Not yet implemented: * Reification of refined types * Expr.value splicing * Named and default macro expansions * Intricacies of interaction between macros and implicits * Emission of debug information for macros (compliant with JSR-45) Dedicated to Yuri Alekseyevich Gagarin
* Don't infer anonymous classes.Paul Phillips2011-06-271-1/+1
| | | | | | | | | | | | | | possible, just far enough to avoid all kinds of undesirable consequences which accompany the preservation of too much type information. (The problems are akin to inferring the singleton type too freely.) // Example of code which did not compile, but now does class A class B[T <: A](cons: T) object C extends B(new A {}) Closes #4110, #3048. I already ran this by moors, so review by odersky.
* "I invite everyone to change this rule, and obs...Paul Phillips2010-11-291-2/+0
| | | | | | | | | | | | | | | | | | | | | "I invite everyone to change this rule, and observe what breaks!" This much beloved comment from #1208 has been on my radar for two years. The worm has turned. Closes #1208. The inferred type of an object is now Foo.type instead of "object Foo". What once was this: scala> val x: Map[Int, Singleton] = Map(1 -> None) <console>:5: error: type mismatch; found : (Int, object None) required: (Int, Singleton) Now exudes a pleasing aura of workingness: scala> val x: Map[Int, Singleton] = Map(1 -> None) x: Map[Int,Singleton] = Map(1 -> None) No review.
* new arrays are done.Martin Odersky2009-09-211-2/+2
|
* Fixed memory leaks for streams.Martin Odersky2009-08-181-17/+17
|
* massive new collections checkin.Martin Odersky2009-05-081-8/+8
|
* disabled one test on Java 1.4michelou2008-12-091-2/+0
|
* added manifest tests and util.Marshalmichelou2008-11-251-10/+44
|
* Fixed classOf problems (issues #841, #876).Iulian Dragos2008-05-171-3/+3
| | | | | Updated manifests.check to reflect the new way 'void' is represented.
* made manifests serializablemichelou2008-05-021-0/+25