summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the serialization test.Philipp Haller2010-03-241-2/+2
|
* Fix and test case for #3169.Paul Phillips2010-03-231-0/+9
|
* Although it was working fine, a test case for @...Paul Phillips2010-03-233-0/+16
| | | | | | Although it was working fine, a test case for @elidable to make sure that state of affairs continues. No review.
* Added test case for #3186. Closes #3186.Philipp Haller2010-03-232-0/+8
|
* Went ahead and implemented classpaths as descri...Paul Phillips2010-03-231-2/+2
| | | | | | | | | | | | | | | | | | | | | Went ahead and implemented classpaths as described in email to scala-internals on the theory that at this point I must know what I'm doing. ** PUBLIC SERVICE ANNOUNCEMENT ** If your code of whatever kind stopped working with this commit (most likely the error is something like "object scala not found") you can get it working again with either of: passing -usejavacp on the command line set system property "scala.usejavacp" to "true" Either of these will alert scala that you want the java application classpath to be utilized by scala as well. Review by community.
* closes #3199. review by community.Tiark Rompf2010-03-224-0/+33
|
* During my last look at r21224 I noticed what mu...Paul Phillips2010-03-212-0/+14
| | | | | | | | | During my last look at r21224 I noticed what must be a long standing bug in Array.update handling. Fixing this probably never to be noticed corner case (see bug3175.scala) seduced me into drumming out some duplication. At least we got some nice commenting out of it. Review by dubochet.
* Some work on the Array methods as they manifest...Paul Phillips2010-03-202-0/+52
| | | | | | | Some work on the Array methods as they manifest in refinement types: tightening when Array code is generated and also what code is generated. Review by dubochet.
* Half-disabled productElementName until I have t...Paul Phillips2010-03-192-2/+0
| | | | | | | Half-disabled productElementName until I have time to reimplement it more to martin's liking. ("Half" because full disabling is not possible until starr has forgotten about it.) No review.
* Returning to the thrilling world of equality an...Paul Phillips2010-03-191-0/+2
| | | | | | | | Returning to the thrilling world of equality and hashCodes now that Any.## is a reality. Moved the hash functions from Predef to ScalaRunTime, and made what appears to be an optimization to equals by not losing the result of an instanceof test. Review by community.
* More fun with -Xmigration.Paul Phillips2010-03-193-15/+15
| | | | | | | | | | | | | | | | | | to BufferLike (++ and similar now create a new collection.) Removed MapLikeBase. Annotated all the methods in mutable.{ Map, Set } which mutated in-place in 2.7 to note that they create new collections, and implemented same. At this point the only +/- like method which mutates in place which I am aware of is BufferLike.+ (see source comment for my observations.) Also tweaked some collections return types as necessitated by these changes, such as mutable.Set.clone() now returning "This" rather than mutable.Set[A]. References #3089, closes #3179. Review by odersky.
* new version of decode that does not need a length.Martin Odersky2010-03-191-0/+39
|
* Closes #2827. Review by community.Philipp Haller2010-03-192-0/+17
|
* Fixes #3054. No review.Hubert Plociniczak2010-03-194-0/+16
|
* Closes #3133. Review by community.Hubert Plociniczak2010-03-173-0/+11
|
* Closes #3185. Review by plocinic.Philipp Haller2010-03-172-0/+44
|
* closes #3112. no review.Tiark Rompf2010-03-162-0/+15
|
* added test case for #2417. no reviewTiark Rompf2010-03-162-0/+89
|
* new testsMartin Odersky2010-03-165-34/+32
|
* Closes #2913.Martin Odersky2010-03-161-0/+31
| | | | | different from the other errors, so no second try was done for them.)
* Fixes infinite streams in #3091. No review.Aleksandar Pokopec2010-03-161-0/+5
|
* Fixes #3091. Review by community.Aleksandar Pokopec2010-03-161-1/+1
|
* added support for continuations in try/catch bl...Tiark Rompf2010-03-166-0/+119
| | | | | | added support for continuations in try/catch blocks. review by community.
* fixed treatment of annotated types in isNumeric...Tiark Rompf2010-03-151-4/+4
| | | | | | fixed treatment of annotated types in isNumericSubType. re-enabled test case. review by odersky
* Fixes #3091. Review by community.Aleksandar Pokopec2010-03-152-0/+35
|
* new immutable.HashSet. review by community.Tiark Rompf2010-03-152-2/+2
|
* Leveraged -Xmigration to burn off some warts wh...Paul Phillips2010-03-152-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Leveraged -Xmigration to burn off some warts which arose in the new collections. Warnings put in place for behavioral changes, allowing the following. 1) Buffers: create new collections on ++ and -- like all the other collections. 2) Maps: eliminated never-shipped redundant method valuesIterable and supplied these return types: def keys: Iterable[A] def keysIterator: Iterator[A] def values: Iterable[B] def valuesIterator: Iterator[B] def keySet: Set[A] I concluded that keys should return Iterable because keySet also exists on Map, and is not solely in the province of Maps even if we wanted to change it: it's defined on Sorted and also appears in some Sets. So it seems sensible to have keySet return a Set and keys return the more general type. Closes #3089, #3145. Review by odersky.
* Tighten update check in cleanup.Paul Phillips2010-03-141-0/+7
|
* Test case for #2940. No review.Paul Phillips2010-03-142-0/+15
|
* Test case closes #751. No review.Paul Phillips2010-03-141-0/+6
|
* Disabled failing testMartin Odersky2010-03-131-4/+4
|
* moved the continuations plugin into trunk.Tiark Rompf2010-03-1170-0/+821
|
* Closes #3158. No review necessary.Martin Odersky2010-03-112-0/+10
|
* closes #3152: refactored adjustTypeArgs and met...Adriaan Moors2010-03-101-0/+20
| | | | | | | | | | | | | | closes #3152: refactored adjustTypeArgs and methTypeArgs so that tparams are correctly split into ones that were inferred successfully, and that thus have a corresponding type argument, and those that weren't determined I didn't investigate the exact cause of the final error message in the bug report, but Jason Zaugg's observations seems correct and I never liked that uninstantiated buffer in the first place. review by odersky
* New attempt at fixing the tests. No review.Philipp Haller2010-03-093-48/+60
|
* Made actor-getstate test more robust. No review.Philipp Haller2010-03-091-20/+20
|
* Temporarily disabling failing test until I can ...Paul Phillips2010-03-093-0/+0
| | | | | | Temporarily disabling failing test until I can finish my partest work. No review.
* Added test.debug target to build.xml.Paul Phillips2010-03-089-0/+0
| | | | | | | | | | tests you have placed in the test/debug directories - critically for those of us stuck debugging ant, this lets one run a small selection of tests by way of ant instead of the console runner. (Sorry about the empty .gitignore files, but one of git's quirks is that it won't acknowledge the existence of an empty directory.) No review.
* Fixed failing test t3115 via judicious applicat...Paul Phillips2010-03-082-4/+5
| | | | | | Fixed failing test t3115 via judicious application of -Yfatal-warnings. No review.
* Closes #3102.Philipp Haller2010-03-082-0/+28
|
* Reactor now has type parameter.Philipp Haller2010-03-088-13/+88
|
* closes #2994Adriaan Moors2010-03-082-0/+34
| | | | | | | | | make normalize slightly more aggressive in loading symbol info, while ) tolerating the righteous cycle (use sym.info.typeParameters instead ) of unsafeParams this is needed to make sure higher-kinded types have ) their type parameters (otherwise we'd get a PolyType with NoSymbol for ) typeParams )
* new testsMartin Odersky2010-03-087-0/+53
|
* Closes #3115. Reviw by rytzMartin Odersky2010-03-082-0/+16
|
* Closes #3026. Review by extempore.Martin Odersky2010-03-083-0/+25
|
* - new immutable HashMap implementation based on...Tiark Rompf2010-03-072-7/+7
| | | | | | | | | - new immutable HashMap implementation based on a hash trie. this is the first iteration, more optimizations will be added later. - updated test cases to reflect new ordering of elements - made Map.empty and Set.empty singletons, deprecating classes Map.EmptyMap and Set.EmptySet Review by extempore, odersky.
* Fixes for #3126.Paul Phillips2010-03-061-0/+9
| | | | | | null, and thrown MatchErrors don't NPE trying to stringify null. No review.
* Fix for #3136 by reverting the line in r18184 w...Paul Phillips2010-03-052-0/+19
| | | | | | | | | Fix for #3136 by reverting the line in r18184 which caused this and other regressions. The downside is that the #1697 test case no longer passes, but protracted shrug because it wasn't entirely fixed anyway. Review by moors. (Can you triangulate your way to a patch where both work simultaneously? It's today's bonus challenge!)
* Test case for case class equality.Paul Phillips2010-03-051-0/+36
|
* ScalaRunTime method to perform sameElements as ...Paul Phillips2010-03-052-1/+15
| | | | | | ScalaRunTime method to perform sameElements as fix for #2867. Review by odersky.