| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Test case for bug #1466, which was mysteriously fixed at some point in
the last nine months.
|
| |
|
|
|
|
|
|
|
| |
Removed some identical code from the collections classes in hopes of
finding some consistency in collections equality. Added more test cases
to the sequenceComparisons test.
|
|
|
|
|
|
|
|
|
|
|
| |
A start on a more comprehensive test suite for sequences. It performs
3600 different tests attempting to exercise the potentially buggy
variations of startsWith, endsWith, indexOfSeq, and sameElements.
And, a KMP implementation of indexOfSeq which in addition to being a
lot faster for definite sized sequences, should give the wrong answer
somewhat less frequently.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Implementation and test cases for canEqual method in case classes. Now
the autogenerated equality method inquires with the argument as to
whether other.canEqual(this) before returning true.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one long-standing bug which actually had a test case testing its
bugginess (which is to say, when I fixed the bug, the test case failed.)
This:
- def doMatch4(xs:Seq[Char]) = xs match {
- case Seq(x, y, _*) => x::y::Nil
- case Seq(x, y, z, w) => List(z,w) // redundant!
- }
...should never have compiled - which must have been recognized
on some level given the "redundant!" comment, but it never made
it into neg/.
|
|
|
|
|
|
| |
Implemented proposed strategy for #1503 and moved test case out of
pending (and fixed it so it didn't throw a match error.)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Creating case classes in preference to passing around a variety of
inscrutable tuples. And, fix and test case for #1697. There remain
serious extractor issues which I hope to have fully diagnosed in the
near future.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Fixed the fact that reflective calls had logical and arithmetic right
shift swapped. Modified test case to use a value that doesn't have
identical output for both shifts. Grumbled to self that test cases which
fail to test are markedly worse than no tests at all.
|
|
|
|
|
| |
named arguments only at top level in () parameters.
|
|
|
|
|
|
| |
improvements to names / defaults (implicits, type of defaults, #2064,
...)
|
|
|
|
|
|
| |
allow using named / default arguments in self- and super constructor
calls. fixes #2050 and #2052.
|
|
|
|
|
| |
- Symbol.annotations now first calls .initialize
|
| |
|
| |
|
|
|
|
|
|
| |
named argument disallowed when assignment expression would typecheck.
minor fixe to names / defaults.
|
| |
|
| |
|
|
|
|
|
|
|
| |
- MethodTypes now have (params: List[Symbol])
- "copy"-methods for case classes
- the "copy" object in the compiler is now called "treeCopy"
|
| |
|
| |
|
|
|
|
|
|
| |
In "Iterable" and in all its subclasses, "iterator" replaces "elements"
(and assorted changes).
|
|
|
|
|
|
| |
Fixed problem that spurious caused exhaustiveness warning for RefChecks.
Enriched positions and worked on the interactive compiler.
|
|
|
|
|
|
| |
Fix and test for #1360 - when passing a sequence to java varargs,
call .toArray on it if it is not already an array.
|
|
|
|
|
|
| |
KMP implementation for StringBuilder and test case. Repaired
long-standing infinite loop in lastIndexOf.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Reverted probably unintentional change to Enumeration (the method
formerly called valueOf and now called withName needs to return
Option[Value], not Value) and updated the failing tests to use the new
Enumeration interface.
|
|
|
|
|
|
|
| |
Organized disabled directory so it works with partest. You can run
./partest --srcpath disabled to run the tests in that location. Fixed a
few tests in disabled and pending and moved to files.
|
| |
|
|
|
|
|
|
|
| |
Modernized DRMacIver's languishing array patch and added test cases to
exercise primitive to any array conversion. This fixes bugs #1300 and
#1301.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Modifications to the 10 failing test cases to make them passing test
cases in light of the patch from #1118.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Restructured Enumeration to have many fewer public members so people
can import TheirEnum._ with less trepidation. The HOFs formerly in
Enumeration were removed, but as they all merely forwarded to elements
anyway, do this:
object Foo extends Enumeration { val FOO, BAR = Value }
import Foo._
Foo.elements filter (_ == FOO)
|