summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #2497Martin Odersky2009-11-071-1/+1
|
* - Renames filterMap to partialMapPaul Phillips2009-11-061-8/+8
| | | | | | - Renames GenericRange to NumericRange - Removes most @experimental annotations
* Moved disabled tests back into their original p...Antonio Cunei2009-11-0617-1/+1
| | | | | | Moved disabled tests back into their original place. Expect 7 tests to fail.
* Fixed initial variable binding for method param...Iulian Dragos2009-11-062-0/+31
| | | | | | Fixed initial variable binding for method parameters, that caused the inliner to infer wrong types for tail recursive methods
* Proposed fix for #2144 plus test case.Paul Phillips2009-11-042-0/+7
|
* Scala implementation of fancier hashCode algori...Paul Phillips2009-11-042-0/+18
| | | | | | | | Scala implementation of fancier hashCode algorithm. At the moment it isn't used unless you supply -Yjenkins-hashCodes to scalac. Without the flag, the supplied test case generates 12559 unique hashCodes among 90000 case class instances; with the flag it generates 89999.
* Fix and test for #2527Philipp Haller2009-11-032-0/+21
|
* Applied patch for #2524.Philipp Haller2009-11-031-0/+10
|
* Fix and test for #2530.Philipp Haller2009-11-032-0/+107
|
* fixed #2500: refactoring collections so that a ...Adriaan Moors2009-11-031-0/+6
| | | | | | | | | | fixed #2500: refactoring collections so that a `collection.{Map|SortedMap|SortedSet}` can be built from the corresponding collection (thus, do not require the immutable one) pulling up newBuilder method from Immutable*Factory to *Factory, and inheriting *Factory in scala.collection companion objects, instead of the Immutable*Factory this way, you can, e.g., build a collection.Map from a collection.Map (instead of requiring an immutable.Map)
* Fixed #2545.Martin Odersky2009-11-021-0/+10
|
* fixed problem with Vector.dropRight, added addi...Tiark Rompf2009-11-022-0/+205
| | | | | fixed problem with Vector.dropRight, added additional test case
* separated Vector impl from IndexedSeqTiark Rompf2009-10-304-3/+15
|
* fixed 2544, reimplemented SeqLike.indexWhere, s...Tiark Rompf2009-10-302-0/+29
| | | | | | fixed 2544, reimplemented SeqLike.indexWhere, segmentLength and lengthCompare in terms of iterators instead of foreach and breaks
* Fix for #1909Hubert Plociniczak2009-10-285-8/+11
|
* Fixed #1342.Martin Odersky2009-10-283-0/+15
|
* Improves Enumeration to obtain names of values ...Philipp Haller2009-10-272-0/+26
| | | | | | Improves Enumeration to obtain names of values through reflection. This addresses those parts of #2111 that we agreed on in the Scala meeting.
* Fixed #2494, plus some reorganization of swing ...Martin Odersky2009-10-273-1/+6
| | | | | Fixed #2494, plus some reorganization of swing imports
* fixed bug in Stream::flatMap (still optimised a...Adriaan Moors2009-10-276-0/+17
| | | | | | fixed bug in Stream::flatMap (still optimised as it was needed for correctness --> added regression tests for corresponding tickets)
* Fix and test for #2214.Philipp Haller2009-10-262-0/+42
|
* Reverting unwanted parts of last commit.Philipp Haller2009-10-266-6/+6
|
* Second half of fix and tests for #1518.Philipp Haller2009-10-2610-6/+101
|
* new classpaths.Lukas Rytz2009-10-2611-8/+20
|
* Fix and test for #2515.Philipp Haller2009-10-252-0/+50
|
* Fix and test case for #2512, plus lots of time ...Paul Phillips2009-10-251-0/+14
| | | | | | | | Fix and test case for #2512, plus lots of time expended tuning HashSet starting sizes and growth rate, with almost nothing to show for it (but I did determine that "shadowed" is constructed identically something like 10,000 times, so there is probably a cache to be had there.)
* Parser fix involving backquoted identifiers (#2...Paul Phillips2009-10-231-0/+15
| | | | | Parser fix involving backquoted identifiers (#2514) plus test case.
* fixed #2428 for good.Martin Odersky2009-10-232-10/+14
|
* The last patch to work around #1909 caught one ...Paul Phillips2009-10-224-4/+16
| | | | | | The last patch to work around #1909 caught one brand of lifts but not another. Better now and another test case.
* Tickets #1909 and #2508 involve code which comp...Paul Phillips2009-10-222-0/+10
| | | | | | | Tickets #1909 and #2508 involve code which compiles but then fails at runtime due to invalid bytecode. This commit turns those into compile time errors. Includes negative test case.
* the essence of tcpoly inference + test casesAdriaan Moors2009-10-2210-3/+162
| | | | | | fixes to check files and removed nonapplicable test case Tuple2 impl, but commented out so that we can bootstrap whitespace...
* Added (a variation on) jorge ortiz's sortBy to ...Paul Phillips2009-10-221-0/+5
| | | | | | Added (a variation on) jorge ortiz's sortBy to SeqLike, added docs and test case. Added map to Ordering.
* A pending test for #2087, and a script test whichPaul Phillips2009-10-229-0/+16
| | | | | | | | is supposed to exercise r19165, except that I discovered that no script tests have been run since July 2008: r15658 says "remove script tests for now - they seem to block in certain configurations."
* fixed breakage caused by r19219 -- sorry!Adriaan Moors2009-10-221-1/+1
| | | | | (thanks for alerting me, Toni)
* Revert "added CanBuild type alias in package ob...Adriaan Moors2009-10-221-1/+1
| | | | | | | Revert "added CanBuild type alias in package object scala.collection.generic" because it broke scaladoc (I consider that a bug -- filing ticket) This reverts commit 5b3ba1c27cdce76d8aef2bfb9aa5a836237521a9.
* built new starr and fixed test casesTiark Rompf2009-10-217-14/+15
|
* renamed Vector to IndexedSeqTiark Rompf2009-10-212-2/+2
|
* refactoring of TypeVar to set the stage for tcp...Adriaan Moors2009-10-211-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | refactoring of TypeVar to set the stage for tcpoly inference (also touched UndoLog, isHigherKinded logic in TypeRef) added <:< implicit, should bootstrap selection from squashed commit messages: commented out stuff so that this can be used to bootstrap and build a new starr merged/cherry picked refactorings unrelated to #2261 (undoLog, cloneInternal, NoImplicitInfo) made conforms implicit, identity explicit replaced the implicit `identity` coercion by `conforms`, which can be used to encode generalised constraints the introduction of `conforms` revealed a bug in adaptToMember, which was inferring views while already inferring one, which gave rise to diverging implicits. Predef.identity is no longer special as far as the compiler is concerned. cleaned up isHigherKinded logic in TypeRef, and implemented it in TypeVar along with normalize added <:< to Predef: use as evidence for encoding generalized constraints (BTW: extractUndetparams clears undetparams: don't use in debug output -- I learned the hard way...) added todo about ticket 2066 -- branching from master to explicitkinds for fix refactoring: moved bounds tracking logic to TypeVar introduced typeConstructor in Type because we can't use appliedType(tp, List())) to strip a type's type arguments (appliedType is a no-op for empty args) -- don't want to pattern match on type either removed unused overrides in TypeVar (TODO double check) making appliedType more robust since it is now used more liberally -- neg/t0226 should no longer fail now merged in appliedType refactoring and added TypeVar logic to appliedType
* added CanBuild type alias in package object sca...Adriaan Moors2009-10-211-1/+1
| | | | | added CanBuild type alias in package object scala.collection.generic
* Fixed #2429.Martin Odersky2009-10-211-0/+21
|
* fixed failing testcases due to previous commit ...Adriaan Moors2009-10-214-7/+10
| | | | | | fixed failing testcases due to previous commit (renaming of BuilderFactory)
* renamed BuilderFactory[El, To, From] -> CanBuil...Adriaan Moors2009-10-211-0/+14
| | | | | | | | | | | | | | | | | | | | | renamed BuilderFactory[El, To, From] -> CanBuildFrom[From, El, To] and added apply() overload to create collections from scratch generically added def apply() overload to BuilderFactory so that we can also create collections from scratch generically (see test test/files/pos/collectGenericCC.scala) renaming: - BuilderFactory[El, To, From] -> CanBuildFrom[From, El, To] bulk type-param reordering using: s/CanBuildFrom\[\s*([^,()\s]*)\s*,(\s+[^\s,()]*)\s*,\s+([^\s,()]*)\s*\]/CanBuildFrom[$3, $1,$2]/ some argument lists got mixed up because they contained 4 comma's... - builderFactory -> canBuildFrom removed explicit implicit value in DocDriver that was renamed renamed collection/generic/BuilderFactory.scala -> collection/generic/CanBuildFrom.scala tested with clean build using ant strap.done -- everything went well on my machine
* Fix and test for #2446.Philipp Haller2009-10-212-0/+10
|
* Implementation of martin's suggested fix for #1...Paul Phillips2009-10-202-0/+13
| | | | | Implementation of martin's suggested fix for #1503.
* Updated remaining test case to reflect the slig...Paul Phillips2009-10-204-22/+26
| | | | | | Updated remaining test case to reflect the slightly differing semantics of the Ordering fix.
* Fixes for 66.67% of the tests failing from the ...Paul Phillips2009-10-202-4/+4
| | | | | | Fixes for 66.67% of the tests failing from the Ordering commit. Other third is going to take a closer look.
* Fix and test case for #2260. Hooray for thePaul Phillips2009-10-201-0/+10
| | | | | ability to influence the priority of implicits.
* Relaxing a check for ticket #2486, plus test case.Paul Phillips2009-10-191-0/+3
| | | | | | proposing this as the long-term fix (unless by some miracle it is the right fix, in which case good for me.)
* Another bunch of work on Numeric, Range, Generi...Paul Phillips2009-10-191-7/+47
| | | | | | Another bunch of work on Numeric, Range, GenericRange, BigDecimal, and a pile of test cases for various aspects of GenericRange.
* A new and better fix for ticket #1373.Paul Phillips2009-10-191-0/+6
|
* Fix and test for #1674; we aren't supposed to b...Miles Sabin2009-10-191-0/+3
| | | | | | | Fix and test for #1674; we aren't supposed to be validating positions if there are syntax errors ... ensure that's so; we are supposed to be validating positions when -Yide-debug is set ... ensure that's so.