summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Mixing test case. No review.Martin Odersky2010-03-051-0/+8
|
* Added -Xmigration option and @migration annotat...Paul Phillips2010-03-053-0/+21
| | | | | | | | | | | | Added -Xmigration option and @migration annotation. At present it will warn about the following changes from 2.7 to 2.8: Stack iterator order reversed mutable.Set.map returns a Set and thus discards duplicates A case 'x @ Pattern' matches differently than 'Pattern' Review by odersky.
* Closes #3118. review by extemporeMartin Odersky2010-03-042-0/+15
|
* Clean-ups in scheduler hierarchy.Philipp Haller2010-03-049-1/+325
|
* #3128 fixedilyas2010-03-022-0/+19
|
* trailing spaces in decompiled annotations are t...ilyas2010-03-011-1/+1
| | | | | trailing spaces in decompiled annotations are trimmed
* scalap tests fixedilyas2010-03-016-10/+9
|
* typo in test fixedilyas2010-03-011-1/+1
|
* #2885 fixedilyas2010-03-012-0/+6
|
* #3060 fixedilyas2010-03-012-0/+17
|
* Closes #3076. Review by community.Martin Odersky2010-03-012-0/+6
|
* Enabled scalacheck tests.Paul Phillips2010-03-016-12/+32
| | | | | | | | what must be legacy scalatest.* properties to partest.*, boldly assuming that the fact that partest is pretty much unusable outside of scalac means there are no users outside of scalac who might be disrupted by eliminating old property names. Review by community.
* Fixed specialized pattern matches.Iulian Dragos2010-02-284-1/+73
| | | | | specialized implementations.
* Added ## method to Any as our scala hashCode me...Paul Phillips2010-02-281-0/+15
| | | | | | | | | | | | | | Added ## method to Any as our scala hashCode method which provides consistent answers for primitive types. And I'm sure we're all tired of new starrs, but it's hard to add a method to Any without one. This patch only brings ## into existence, but nothing calls it yet. // some true assertions scala> assert(5.5f.## == 5.5f.hashCode) scala> assert(5.0f.## != 5.0f.hashCode && 5.0f.## == 5L.##) No review. (Already reviewed by odersky.)
* Expanded the check from #1392 to enclose #3123 ...Paul Phillips2010-02-272-0/+9
| | | | | | Expanded the check from #1392 to enclose #3123 as well so that "case Int => " doesn't crash. Closes #3123. Review by odersky.
* Special cased an error message for the common s...Paul Phillips2010-02-271-4/+2
| | | | | | Special cased an error message for the common situation of calling AnyRef methods on Any or AnyVal. Review by odersky.
* Quite a lot more work on XML equality than I ca...Paul Phillips2010-02-264-34/+32
| | | | | | | | | | | | | | | | | | Quite a lot more work on XML equality than I can properly justify spending time on, but you know how it is once you get started on something. This commit will likely break some code out there in the world but this is impossible to avoid if we are to achieve sane equality in trunk. For anyone who was relying upon the 2.7 equality behavior for scala.xml.* classes, using "xml_==" instead of "==" for comparisons will restore the old behavior. The standard == on xml elements now attempts to behave in such a way that symmetry and hashCode contracts will be preserved. It's probably not 100% there yet, but I can tell you this: it is closer today than it was yesterday. Review by community.
* closes #3082, review by rytzMartin Odersky2010-02-261-2/+2
|
* close #3071.Lukas Rytz2010-02-261-0/+7
|
* closes #2741 closes #3079 no reviewAdriaan Moors2010-02-263-0/+35
| | | | | worksforme
* closes #2421 -- now also deals with chained imp...Adriaan Moors2010-02-261-0/+17
| | | | | | closes #2421 -- now also deals with chained implicits no review
* closes #2956Adriaan Moors2010-02-262-0/+13
| | | | | | | the problem was that corresponds on Seq's does not check length of sequences before testing the predicate, whereas in some cases that predicate relied on this invariant (when it was doing substitution)
* closes #2797 -- no review (already done in tick...Adriaan Moors2010-02-261-0/+9
| | | | | | | | | | closes #2797 -- no review (already done in ticket by Martin) 1) isHigherKindedType is now false for singletontype 2) toInstance recurses when pre is a typevar: the problem is that pre.widen.typeSymbol isNonBottomSubClass symclazz is true while pre.baseType(symclazz) is NoType
* Tweaking the sealed logic in light of #3097.Paul Phillips2010-02-254-2/+34
| | | | | | | Reorganizes children a little so they always come back sorted the same way the pickler does. Taking advantage of -Yfatal-warnings in the test case. Review by community.
* Updated scalacheck jar to current trunk.Paul Phillips2010-02-243-24/+40
| | | | | | | | | not being used. Updated partest with a --scalacheck option. Added scalacheck tests to the ant build target. Still struggling with ant/partest/classpaths so it's not on by default yet, but at least ./partest --scalacheck works. We... will... use... scalacheck. And we will like it! No review.
* Fixed tests to unbreak build. No review.Philipp Haller2010-02-233-7/+5
|
* Added productElementName to Product.Paul Phillips2010-02-232-0/+2
| | | | | | | | | | | | | | | case class field names your heart desires. Review by odersky. scala> case class Foo[T](kilroy: String, burma: List[T], shave: Seq[Int]) defined class Foo scala> Foo("was here", List('myanmar), Seq(25, 25)) res0: Foo[Symbol] = Foo(was here,List('myanmar),List(25, 25)) scala> 0 to 2 map (res0 productElementName _) res1: IndexedSeq[String] = IndexedSeq(kilroy, burma, shave)
* Specialized types are not substituted inside ty...Iulian Dragos2010-02-225-0/+116
| | | | | | Specialized types are not substituted inside type arguments. Closes #3085, no review.
* Some deprecation patrol and minor cleanups.Paul Phillips2010-02-223-5/+5
|
* Some repl cleanups and debugging conveniences.Paul Phillips2010-02-212-4/+4
|
* Made NumericRange invariant again, plus test case.Paul Phillips2010-02-181-0/+3
|