summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Some serious hash tries bugs fixed.Aleksandar Pokopec2010-10-207-33/+164
| | | | | | | Plus one wild goose chase and test fixes. No review.
* Some exception handling fixes in parallel colle...Aleksandar Pokopec2010-10-206-7/+232
| | | | | | | | Some exception handling fixes in parallel collections. Fixed some regressions. Fixed some tests. No review.
* As hash codes change, so do the tests - output ...Aleksandar Pokopec2010-10-202-2/+3
| | | | | As hash codes change, so do the tests - output order for a HashMap is different now. No review.
* Closes #3059, #3895 (the only difference betwee...Hubert Plociniczak2010-10-208-0/+79
| | | | | | | | Closes #3059, #3895 (the only difference between this and r23232 is the forced info transformation that ensures that nested objects are viewed as lazy vals). sbt integration requires new starr for this commit to work.
* Closes #3670, #3877.Hubert Plociniczak2010-10-205-0/+264
|
* Closes #2910.Hubert Plociniczak2010-10-203-0/+87
|
* Fix involving xml equality, contributed by mark...Paul Phillips2010-10-201-0/+11
| | | | | | Fix involving xml equality, contributed by mark harrah. Closes #3886, no review.
* As pointed out to me by plocinic, the pattern m...Paul Phillips2010-10-191-0/+11
| | | | | | | | As pointed out to me by plocinic, the pattern matcher has been indiscriminately clearing the MUTABLE flag on synthetic vals because it is signalling itself with that bit and it didn't think anyone else would ever notice. Someone did. Closes #3699, review by plocinic.
* A modified approach to map withDefault[Value].Paul Phillips2010-10-191-6/+2
|
* Reverts r23251 because it hangs on windows.Paul Phillips2010-10-192-28/+0
|
* Closes #3934 by fixing a typo (missing + in str...Martin Odersky2010-10-192-0/+36
| | | | | | | Closes #3934 by fixing a typo (missing + in string concat). Better effect analysis would have caught that one at compile-time. Review by extempore.
* adding gitignore sample files.Lukas Rytz2010-10-181-0/+2
|
* Reverted previous commit as I think it is wedgi...Paul Phillips2010-10-172-37/+0
| | | | | | Reverted previous commit as I think it is wedging under -optimise. No review.
* Made some changes to fjbg so when people run in...Paul Phillips2010-10-162-0/+37
| | | | | | | | Made some changes to fjbg so when people run into #1133 at least it will tell them what method was the cause. The fact that ten files are touched in this commit instead of one or two is a testament to the wonder of checked exceptions. No review.
* Disambiguated all the implicits in JavaConversi...Paul Phillips2010-10-161-0/+7
| | | | | | | | | | Disambiguated all the implicits in JavaConversions. All the documentation had fallen out of date so I fixed that up too, in the process converting from HTML to wikiformatting. (Wouldn't it be nice to mass convert trunk out of the HTML tags?) Closes #3688, no review.
* new tests. no review.Martin Odersky2010-10-166-0/+58
|
* Reverting r23232. No review.Hubert Plociniczak2010-10-153-33/+0
|
* Modification to the widening logic to treat loc...Paul Phillips2010-10-143-3/+20
| | | | | | | | | | | | | | | | | | Modification to the widening logic to treat locally defined symbols like final members thus allowing more constants to be inlined. Concretely, that means that in code like this: def f: Unit = { val b = false ; if (b) println("ok") } The call to println is no longer generated at all, and in this code: def f(x: Int) = { val X = 1 ; val Y = 2; x match { case X => 1 ; case Y => 2 } } A tableswitch is generated instead of the present if/then/else. I also added a big comment to the former widenIfNotFinal (now widenIfNecessary for obvious reasons.) Review by rytz.
* All this time with Nil only claiming to be equa...Paul Phillips2010-10-141-0/+8
| | | | | | All this time with Nil only claiming to be equal to immutable.Seqs, how is it possible? Closes #3923, no review.
* Fixed the broken build by my previous change.Iulian Dragos2010-10-141-1/+1
|
* Fixing issue with XMLEventReader.stop failing t...Paul Phillips2010-10-142-0/+28
| | | | | | Fixing issue with XMLEventReader.stop failing to stop the parser thread. Contributed by Jean-Laurent Huynh, reviewed by extempore. Closes #3881.
* An object with a main method can now extend its...Paul Phillips2010-10-141-0/+15
| | | | | | | | | | | | An object with a main method can now extend its companion class without losing the ability to run. Also gave genjvm a wax and polish while in the neigborhood. Closes #3487. I had to get a little tricky with this one. No review per se, but if anyone is frightened by the prospect of the forwarders not being marked final in this case (because as of now, they aren't) then speak now or ACC_FINAL hold your peace.
* closes #3862.Adriaan Moors2010-10-131-0/+8
|
* closes #3281, #3866.Adriaan Moors2010-10-131-0/+17
| | | | | | | | | | | I don't understand why we had to clear() the undoLog in the first place, since the undoXXX methods increase and decrease its size symmetrically, so the log should always be empty once they have all unwound. Was it a (premature) optimisation or was there some kind of semantic meaning to it that I didn't see? review by odersky
* closes #3890: propagate inferred type parameter...Adriaan Moors2010-10-121-0/+4
| | | | | | closes #3890: propagate inferred type parameters to info of undetermined type parameters. review by imaier.
* Closes #2333. Review by dragosHubert Plociniczak2010-10-121-0/+16
|
* Fixes #3895.Hubert Plociniczak2010-10-123-0/+33
|
* Fixed substring test that was occasionally fail...Hubert Plociniczak2010-10-122-2/+1
| | | | | | | Fixed substring test that was occasionally failing on my machine (and reporting the error for a different test case). Proper fix for scalacheck is still pending. No review.
* Introduced -Ymurmur with murmur hashcodes.Paul Phillips2010-10-113-1/+1
| | | | | | | | contributed by "archontophoenix", following in the grand tradition of code by people whose actual names I don't know. References #2537, but it doesn't close until some sensible hashcode is used by default. Review by community.
* An overhaul of the collection-oriented methods ...Paul Phillips2010-10-112-4/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An overhaul of the collection-oriented methods in Tuple2/Tuple3 (which still need to be taken all the way to Tuple5.) * Zip semantics: zip and zipped now properly terminate when any collection runs out of elements, even if others are infinite. In addition, short circuiting methods (exists and forall) will terminate if the condition is met, even in the presence of infinity. Example: scala> val ys = Stream from 1 ys: scala.collection.immutable.Stream[Int] = Stream(1, ?) scala> (ys, ys).zipped forall ((x, y) => x+y < 100) res0: Boolean = false scala> (ys, ys).zipped exists ((x, y) => x+y > 100) res1: Boolean = true * There are implicits converting Zipped2/3 to Traversable to expose all the methods which aren't defined in an arity-specific way in the tuple classes. I have mixed feelings about putting these in Predef; but if there is another way to make them visible by default I wasn't able to find it. Example putting said implicit to use: scala> (ys, ys, ys).zipped find { case (x, y, z) => x+y+z > 1000 } res0: Option[(Int, Int, Int)] = Some((334,334,334)) Already reviewed by moors, so no review.
* temporary fix for compiler crash in dependend m...Lukas Rytz2010-10-112-0/+8
| | | | | | temporary fix for compiler crash in dependend method types with annotations. review by moors.
* Some cleanups in the compiler source.Paul Phillips2010-10-111-1/+1
| | | | | | | eliminated the import of ambiguously named classes from e.g. collection.mutable, obeyed a todo in the parser regarding dropping lbracket from statement starting tokens. No review.
* Better check for objects trying to sneak themse...Paul Phillips2010-10-112-0/+12
| | | | | | Better check for objects trying to sneak themselves into the superconstructor arguments. Closes #3913, no review.
* Made some adjustments to toString formatting of...Derek Chen-Beker2010-10-082-36/+82
| | | | | | | | | | | Made some adjustments to toString formatting of JSON Closes #3605 Hopefully this is the last time I have to close this ticket. In addition to default behavior, the end user can specify their own JSON value formatting function if they want to customize it.
* Added more complete output if tests fail.Aleksandar Pokopec2010-10-082-0/+2
| | | | | | | | | Log file is printed now right away if: - test fails due to an exception thrown in the a test - test fails due to a ScalaCheck test fail - test fails due to compiler errors in ScalaCheck tests Review by extempore.
* Did a bunch of symbol oriented work on checkers.Paul Phillips2010-10-071-0/+20
| | | | | | | changes in Global and Typer to accomodate this, and renamed "Checkers" to "ICodeCheckers" to make some less confusing space for the future "SymbolCheckers". No review.
* Unreverting r23174. No review.Paul Phillips2010-10-065-1/+78
|
* Fixed a failing test. No reviewAleksandar Pokopec2010-10-061-9/+19
|
* Adding immutable parallel hashsets.Aleksandar Pokopec2010-10-051-0/+47
| | | | | | | | | | Fixing an issue with hashset splitters where the splitting does not work if some elements have already been iterated. Added parallel collections exception handling. Added parallel collections break control. Renaming ParHashTrie -> ParHashMap. The part with immutable.{HashSet, HashMap} - review by rompf
* Improves exhaustiveness analysis to not warn ab...Paul Phillips2010-10-057-3/+67
| | | | | | | | Improves exhaustiveness analysis to not warn about types which cannot match due to nonconformant type parameters. Also, look at the different warnings emitted in the test case based on the presence of a constraint. Nifty! Closes #3683, no review.
* Reverted a test. No review.Aleksandar Pokopec2010-10-051-2/+2
|
* Added back another previously failing test.Aleksandar Pokopec2010-10-051-2/+2
|
* Added back a failing test. No review.Aleksandar Pokopec2010-10-051-0/+0
|
* Disabled a failing scaladoc test. No review.Aleksandar Pokopec2010-10-051-0/+0
|
* Disabling a test from last commit until figurin...Aleksandar Pokopec2010-10-051-2/+2
| | | | | | Disabling a test from last commit until figuring out why it fails on the server. No review
* An issue with scalacheck and actors where an ex...Aleksandar Pokopec2010-10-057-414/+434
| | | | | An issue with scalacheck and actors where an excess of thread pools gets created - tmp fix. No review.
* Somewhere along the way AnyVal stopped working ...Paul Phillips2010-10-053-0/+19
| | | | | | Somewhere along the way AnyVal stopped working as sealed. (It was still sealed but had lost its children.) Closes #3163, review by rytz.
* Massively simplified the exhaustiveness checker...Paul Phillips2010-10-053-0/+65
| | | | | | | Massively simplified the exhaustiveness checker with no measurable loss of fidelity. I might be the only one who can be unsurprised by such a bloody diff: anyone else would rightly say "how on earth..." No review.
* Reverts r23174, which I believe will bring the ...Paul Phillips2010-10-045-78/+1
| | | | | | Reverts r23174, which I believe will bring the build back to life. It only chokes under -optimise. No review.
* Fixed a scalacheck test group "test entire subd...Aleksandar Pokopec2010-10-0413-614/+596
| | | | | | | Fixed a scalacheck test group "test entire subdirectory" problem. It's now possible to add scalacheck tests consisting of multiple files. No review.