summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Accumulate missing abstract member errors so th...Paul Phillips2010-04-303-1/+29
| | | | | | Accumulate missing abstract member errors so they can all be printed instead of only the first. Closes #2213, no review.
* removed the dir info of the error messages.Aleksandar Pokopec2010-04-291-5/+5
|
* Tightened variances check. Review by prokopec.Martin Odersky2010-04-292-5/+16
|
* UncaughtException is now a case class (see #2017).Philipp Haller2010-04-291-7/+2
|
* Fixed bug in Iterator.iterate which would lead ...Paul Phillips2010-04-281-0/+5
| | | | | | | Fixed bug in Iterator.iterate which would lead to a runtime exception under some circumstances due to inadequate laziness in calculating the next element. No review.
* Closes #3365.Philipp Haller2010-04-282-0/+70
|
* A small error message improvement suggested at ...Paul Phillips2010-04-272-0/+9
| | | | | A small error message improvement suggested at #3092. No review.
* Fixed broken test file. No review.Iulian Dragos2010-04-272-3/+3
|
* Created TypeDiagnostics trait and have begun op...Paul Phillips2010-04-276-2/+42
| | | | | | | | | | | Created TypeDiagnostics trait and have begun opportunistically moving code into it. Along the way, some improvements to error messages. The situation described in ticket #2206 has always had an applicable error message, but it wasn't making it out to the user. More kinds of ambiguity are disambiguated, see the test cases. And overload errors are printed with some formatting so one has some hope of parsing. Review by odersky.
* Added test for several tickets that were fixed ...Iulian Dragos2010-04-271-0/+83
| | | | | | Added test for several tickets that were fixed earlier this week. no review.
* Fixed construction of specialized classes in th...Iulian Dragos2010-04-274-0/+69
| | | | | | Fixed construction of specialized classes in the presence of side-effects and non-trivial initializers. Review by odersky.
* fixed #3349 : method symbol cached too aggressi...Adriaan Moors2010-04-274-0/+27
| | | | | | | | | | fixed #3349 : method symbol cached too aggressively cooking raw types changes a symbol's info, but the change was masked by caching in MethodSymbol review by odersky
* Fixing the test I broke with the last commit.Paul Phillips2010-04-271-1/+1
|
* Fixes #3350. review by extemporeAleksandar Pokopec2010-04-251-0/+15
|
* Closes #3356.Philipp Haller2010-04-252-0/+60
|
* close #3338, close #3334, close #3345.Lukas Rytz2010-04-252-0/+24
|
* StringBuilder no longer violates the Seq revers...Paul Phillips2010-04-244-0/+39
| | | | | | | | | | | | StringBuilder no longer violates the Seq reverse contract: it returns a new StringBuilder. The behavior formerly found in reverse (updates in place) is now available in reverseContents. Migration warning on reverse. Closes #3327. Also did some StringBuilder rewriting as per discussion with odersky. And took a cleaver to parts of the documentation to get to the good parts a little faster. Review by community.
* Took another of universal equality's victims to...Paul Phillips2010-04-241-0/+8
| | | | | | Took another of universal equality's victims to the hospital. Closes #3348, no review.
* Created Mutable and Immutable SetFactories to d...Paul Phillips2010-04-231-0/+11
| | | | | | | | | | | | | | | | | | | | Created Mutable and Immutable SetFactories to deal with the spectacular performance regression which accompanies the use of AddingBuilder on mutable Sets. Because '+' now creates a new collection even on mutable sets, AddingBuilder on a 100K element collection will create garbage sets of size 1,2,3...,99,999 before finishing. Thankfully there is already GrowingBuilder. See test/files/run/adding-growing-set.scala for a demonstration. This patch is not complete: in particular, SortedSet and SetBuilder need attention. Unfortunately there is a combinatorial jump in the number of Addable/Growable divisions which arises once one tries to accomodate both Sorted signatures (taking an Ordering) and unsorted signatures, so will come back to it after receiving counsel. Review by odersky.
* Added test for #3081. No review.Hubert Plociniczak2010-04-231-0/+5
|
* Fixed typo in error message. No review.Martin Odersky2010-04-232-3/+3
|
* Fixed implicits problem in specs; Manifest[Clas...Martin Odersky2010-04-231-0/+5
| | | | | | Fixed implicits problem in specs; Manifest[Class[_]] can now be generated. review by dubochet.
* Reverted change of Reactor.exceptionHandler's t...Philipp Haller2010-04-221-1/+1
| | | | | | Reverted change of Reactor.exceptionHandler's type of see r21650. Review by plocinic.
* Reactor.exceptionHandler is defined on Throwabl...Philipp Haller2010-04-226-15/+11
| | | | | | | Reactor.exceptionHandler is defined on Throwable instead of Exception. Fixes potential problem with visibility of changes to a field. Review by plocinic.
* Fixed bug in update method visibility which cau...Paul Phillips2010-04-211-0/+15
| | | | | | | Fixed bug in update method visibility which caused x += y not to find x's update method when defined generically. Closes #3278. Already reviewed by odersky.
* Fix and test case for forwarder duplicate bug.Paul Phillips2010-04-171-0/+14
|
* Added a test to make sure distinct preserves or...Paul Phillips2010-04-162-0/+16
| | | | | Added a test to make sure distinct preserves ordering. No review
* Improved @tailrec error messages to specify the...Paul Phillips2010-04-153-22/+55
| | | | | | | Improved @tailrec error messages to specify the reason. In the process fixed old bug involving tail call transformation. Closes #3275, #2018. Review by dragos.
* Removed a bunch of -Y warning options.Paul Phillips2010-04-153-3/+3
| | | | | | | back in the form of a compiler plugin. Also promoted -Yfatal-warnings to -Xfatal-warnings: this is key to writing tests which involve warnings and should be at least semi-supported. Closes #3300, no review.
* Disabled failing json test.Martin Odersky2010-04-131-4/+4
|
* Made the icode reader more resilient to errors.Iulian Dragos2010-04-1315-0/+0
| | | | | | | symbol does not cause any crashes, but the method using an unknown symbol will not be used for inlining. Resurrected tests, removed spec-matrix for the moment. No review.
* Some mopping up in equality.Paul Phillips2010-04-131-0/+41
| | | | | | way equals was being handled, and hammered it out. New ==/## tests which covers all types and values. Review by odersky.
* A redblack tree scalacheck test contributed by ...Paul Phillips2010-04-131-0/+157
| | | | | A redblack tree scalacheck test contributed by dcsobral. No review.
* Hardened actor tests. No review.Philipp Haller2010-04-1329-4/+319
|
* closes #3241 and improves serialization of hash...Tiark Rompf2010-04-133-3/+27
| | | | | | closes #3241 and improves serialization of hash tries. review by community.
* Disabling what I think are the last two failing...Paul Phillips2010-04-124-0/+0
| | | | | | | | | | | | | | | | Disabling what I think are the last two failing tests, one each of the two leading bugs among those we've seen here today on testing theater: "could not find toMap: (x$1: scala.collection.TraversableOnce,x$2: Predef$<:<)" and "scala.tools.nsc.symtab.Types$TypeError: method react cannot be accessed in java.lang.Object with scala.actors.Reactor[Any] No review but hey lets' see if we can re-enable these tests soonish.
* Still working on partest.Paul Phillips2010-04-126-0/+112
| | | | | | | | | | | | temporary if considered clutter. ant test.partest ant test.partest-opt They run some recently troublesome partest tests with a low timeout. Logged some more exceptions where the compiler has been dying. Review by phaller.
* Disabled test that hangs when actors package is...Philipp Haller2010-04-122-0/+0
| | | | | | Disabled test that hangs when actors package is compiled with specialization. Review by dragos.
* changed testfile, to satisfy new diff algo (whi...Martin Odersky2010-04-121-1/+1
| | | | | | changed testfile, to satisfy new diff algo (which should be reverted IMO). review by extempore.
* Another test for see #2017. No review.Philipp Haller2010-04-122-0/+50
|
* Closes #3224. Review by retronym.Martin Odersky2010-04-122-0/+36
|
* Disabling some more tests which crash under -op...Paul Phillips2010-04-125-0/+0
| | | | | Disabling some more tests which crash under -optimise. No review.
* Disabled the test which is hanging the -optimis...Paul Phillips2010-04-122-0/+0
| | | | | Disabled the test which is hanging the -optimise run. No review.
* Fixed some position issues and build manager test.Iulian Dragos2010-04-111-1/+1
|
* Introduces scala.tools.cmd providing command li...Paul Phillips2010-04-111-3/+3
| | | | | | | | | | | | | | | | | | Introduces scala.tools.cmd providing command line tool infrastructure. For a quick look at what can be done, see scala.tools.cmd.Demo For a more involved, potentially eye-straining look, see scala.tools.partest.PartestSpec To experience it through the eyes of Joe Partest User, run test/partest Review by community.
* Fix test with new specialized output, no review.Paul Phillips2010-04-091-0/+1
|
* Turn on specialization by default. No review.Iulian Dragos2010-04-0924-24/+0
|
* Changed the syntax of the specialized annotation:Iulian Dragos2010-04-092-2/+2
| | | | | | | | | instead of a flaky string, it now takes a repeated parameter list of primitive types: @specialized("Int, Double") becomes @specialized(Int, Double). No review.
* Companion objects of primitive types are now va...Iulian Dragos2010-04-094-14/+0
| | | | | | | | | Companion objects of primitive types are now values. Term 'scala.Int' resolves in bytecode to an instance of 'scala.runtime.Int'. This is the first step towards replacing strings in @specialized with a proper list of types, so instead of @specialized("Int, Float") one will write @specialized(Int, Float). Review by odersky.
* close #3207. review by oderskyLukas Rytz2010-04-091-0/+21
|