summaryrefslogtreecommitdiff
path: root/test/pending
Commit message (Collapse)AuthorAgeFilesLines
...
* Added sanity check to lub calculation to preven...Paul Phillips2011-06-241-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added sanity check to lub calculation to prevent invalid lubs from emerging. The underlying cause of said lubs is that higher-order type parameters are not handled correctly: this is why the issue is seen so frequently in the collections. See pending test pending/pos/those-kinds-are-high.scala for a demonstration. Until that's fixed, we can at least raise the bar a bit. Closes #2094, #2322, #4501. Also, some test cases in neg have been promoted into working programs: #2179, #3774. (They're not in neg for the "shouldn't work" reason, but out of despair.) In some cases, such as the original reported ticket in #3528, this only pushes the problem downfield: it still fails due to inferred type parameters not conforming to bounds. I believe a similar issue with higher-order type parameters underlies that. Look at how far this takes us though. All kinds of stuff which did not work, now works. None of these even compiled until now: scala> :type List(mutable.Map(1 -> 1), immutable.Map(1 -> 1)) List[scala.collection.Map[Int,Int]] scala> :type Set(List(1), mutable.Map(1 -> 1)) scala.collection.Set[Iterable[Any] with PartialFunction[Int,Int]] scala> :type Stream(List(1), Set(1), 1 to 5) Stream[Iterable[Int] with Int => AnyVal{def getClass(): Class[_ >: Int with Boolean <: AnyVal]}] scala> :type Map(1 -> (1 to 10), 2 -> (1 to 10).toList) scala.collection.immutable.Map[Int,scala.collection.immutable.Seq[Int] ] PERFORMANCE: compiling quick.lib and quick.comp, this patch results in an extra 27 subtype tests. Total. Time difference too small to measure. However to be on the safe side I made it really easy to disable. private final val verifyLubs = true // set to false Review by moors, odersky.
* Added test case.Martin Odersky2011-06-212-0/+19
|
* Some tests for pending, no review.Paul Phillips2011-06-212-0/+51
|
* Moved a test to pending.Aleksandar Pokopec2011-06-201-0/+29
| | | | | No review.
* Restored the lisp.scala test.Paul Phillips2011-05-312-544/+0
| | | | | test in r25038, so closes #4512, no review.
* Each of the three commits preceding this are to...Paul Phillips2011-05-291-158/+0
| | | | | | | | | | | Each of the three commits preceding this are to correct regressions which would have been caught by the interpreter test and never checked in in the first place, were it not disabled. The windows tax claims another victim. Or three victims. Re-enabled the interpreter test. No way for me to know if it will pass everywhere without trying it. No review.
* Finished reverting the misbegotten r23262, no r...Paul Phillips2011-05-261-0/+19
| | | | | Finished reverting the misbegotten r23262, no review.
* Temporarily sending lisp.scala to be interprete...Paul Phillips2011-05-152-0/+544
| | | | | | | | Temporarily sending lisp.scala to be interpreter.scala's equally memory hungry buddy in pending. References #4512. This should be straightened out imminently, but I will solve this more easily by looking forward, not backward. No review.
* Temporarily moving interpreter.scala to pending.Martin Odersky2011-04-251-0/+158
|
* Working my way through pattern matcher sequence...Paul Phillips2011-04-231-9/+0
| | | | | | | | | Working my way through pattern matcher sequence issues mostly caused by the special handling of Lists. Also deleting all kinds of useless or almost useless code which is presently only clutter. Closes #2756, #2800, #3050, #3530, #3972, no review.
* Fixes my part of #4283 by inserting another cas...Martin Odersky2011-04-132-2/+15
| | | | | | | Fixes my part of #4283 by inserting another cast pre-emptively when an IllegalAccess error is possible in an erasure-inserted cast. Review by extempore.
* Added test to pending.Martin Odersky2011-04-123-0/+15
|
* Moved failing tests to pending after having dia...Martin Odersky2011-03-246-0/+158
| | | | | | | | Moved failing tests to pending after having diagnosed that the only problem is a difference in output between Java 1.5 and 1.6 reflection libraries. Can we moved back once that's fixed. For now, it's more important to ghet the build back.
* Spiced up the signature test infrastructure a b...Paul Phillips2011-03-234-39/+0
| | | | | | Spiced up the signature test infrastructure a bunch, wrote some more tests, restored the tests in pending. No review.
* Moving signature tests to pending, because they...Martin Odersky2011-03-234-0/+39
| | | | | | Moving signature tests to pending, because they operate under wrong assumptions now that mixed in members are bridges. Review by extempore.
* Fixes underlying "...Martin Odersky2011-03-051-0/+8
|
* Moved and removed a bunch of tests from pending.Paul Phillips2011-01-1912-111/+10
|
* Disabled the process test. No review.Paul Phillips2011-01-121-0/+160
|
* disabled test cf-attributes.scalamichelou2010-12-312-0/+196
|
* Disabled test after failing to read linux's mind.Paul Phillips2010-12-012-0/+40
|
* Some work on error messages, somewhat based on ...Paul Phillips2010-11-261-0/+11
| | | | | | Some work on error messages, somewhat based on ideas in #3092. No review.
* A new totally safe signal manager, along with a...Paul Phillips2010-11-261-0/+22
| | | | | | | | | | | | | | | | | | | A new totally safe signal manager, along with all the support code needed for that. See the classes in scala.tools.reflect.* for interesting new weapons. Also includes inaugural handy usage: scala> val x = 10 x: Int = 10 scala> while (true) () [ctrl-C] Execution interrupted by signal. scala> x res1: Int = 10 No review, but feedback welcome.
* Some refinement of the error messages when the ...Paul Phillips2010-11-181-6/+5
| | | | | | | | | | | | | | | | | Some refinement of the error messages when the found and required types have the same simple names. No longer must we watch people scratch their heads at such messages as: found : scala.collection.Set[String] required: Set[String] Now so clear you could enjoy a movie through it: found : scala.collection.Set[String] required: scala.collection.immutable.Set[String] No review.
* Changed javasigs test to use new javaccmd syste...Philipp Haller2010-11-151-1/+1
| | | | | Changed javasigs test to use new javaccmd system property.
* Moved failing test to pending until I figure ou...Iulian Dragos2010-11-142-0/+399
| | | | | | Moved failing test to pending until I figure out how hudson is running on chara
* A modifier's work is never done.Paul Phillips2010-10-261-5/+0
| | | | | | | protected and its bevy of corner cases. Closes #3939, #3947. This patch is intended for both trunk and 2.8.1. Already reviewed and co-authored by moors, and review by oderksy.
* oh well.. so let's remove that test. no review.Lukas Rytz2010-10-212-0/+15
|
* Introduced -Ymurmur with murmur hashcodes.Paul Phillips2010-10-112-18/+0
| | | | | | | | 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.
* Another batch of busywork shuffling the content...Paul Phillips2010-10-0426-223/+26
| | | | | | Another batch of busywork shuffling the contents of pending around. Can almost see some daylight. No review.
* One last batch of test cleanups and I think I'l...Paul Phillips2010-10-0316-118/+44
| | | | | | | One last batch of test cleanups and I think I'll call it a day. If you're worried I didn't leave any for anyone else, let me put your fears to rest. PLENTY left to sift through. No review.
* The next batch of tests put up a little more st...Paul Phillips2010-10-0220-384/+0
| | | | | | | | | | | | | | The next batch of tests put up a little more struggle, but only a little. See test/pending/pos/unappgadteval.scala (the changes for which were in the previous commit) for an example of a test which might be on to something. Any idea what it would take to get it working? // the key lines case i @ Suc() => { (y: Int) => y + 1 } // a = Int => Int case f @ Lam[b,c](x, e) => { (y: b) => eval(e, env.extend(x, y)) } // a = b=>c No review.
* Sorting through the tests in pending from oldes...Paul Phillips2010-10-0223-496/+92
| | | | | | | | | | | | | | | | | Sorting through the tests in pending from oldest to newest because I don't believe in having useless appendages. The verdict on the oldest fifteen tests is: 15/15 are fixed. Many were already in files under a different name. I moved a few and deleted the rest. Fun fact of the day: apparently there was a time when to call into java varargs with no arguments you might have to write something like: getClass().getMethod("getCount", Array[java.lang.Class[T] forSome { type T }]()) On this basis I retract any complaints I've ever had about anything. There is one question mark outlined in pos/testCoercionThis.scala, a file formerly called pos/moors.scala and therefore... review by moors.
* Cleaning up the contents of test.Paul Phillips2010-09-2829-880/+0
| | | | | | | | | | | including "CheckEither", written against scalacheck 1.2 in the year 471 AD. Removed all the duplicates I could find, mostly between pending and files. Renamed a bunch of tests so they wouldn't look like likely duplicates next time around. Nominated somebody else to do this once in a while. No review.
* new tests. No review.Martin Odersky2010-08-241-0/+11
|
* pending test for #3663Lukas Rytz2010-08-062-0/+28
|
* Added test case for see #3628 in pending.Philipp Haller2010-07-122-0/+14
|
* Added test case for see #3620.Philipp Haller2010-07-121-0/+73
|
* Added test case for see #3636.Philipp Haller2010-07-121-0/+49
|
* Removed a test from pending which is also in fi...Paul Phillips2010-06-302-609/+0
| | | | | Removed a test from pending which is also in files. No review.
* Removed unfinished Jenkins hashcode for final.Paul Phillips2010-06-272-0/+18
|
* A wholesale reversion of the pattern matcher to...Paul Phillips2010-06-161-0/+9
| | | | | | | | A wholesale reversion of the pattern matcher to r21939, motivated by the appearance of #3578. Closes #3578, reopens #2800, #3050. Review by moors. (I can't keep saying "no review" when every move I make in here seems to break something.)
* Reverts r21973, the patch I characterized as "h...Paul Phillips2010-06-042-0/+10
| | | | | | | Reverts r21973, the patch I characterized as "hacky but no-risk" in my commit message, for causing #3480. Closes #3480. I'd say no review but who can trust a guy who throws around "no risk" with such abandon.
* Moved the test for #3420 to pending and reopene...Paul Phillips2010-05-202-0/+6
| | | | | | | Moved the test for #3420 to pending and reopened the ticket. The bug only materializes if scalac was itself built with -optimise. (We may need a richer language for describing optimise bugs.) No review.
* Should fix the interpreter bug I just introduced.Paul Phillips2010-05-131-0/+10
| | | | | | | crashing-under-optimise test into pending since that looks like a genuine bug - I'll open it a ticket. No review.
* Disabled scalacheck tests because they interfer...Martin Odersky2010-05-105-0/+317
| | | | | | Disabled scalacheck tests because they interfere with library refactorings (refactorings break scalacheck).
* Rolled partest back to r21328.Paul Phillips2010-05-066-0/+63
| | | | | | | | changes necessary to plug it back in while preserving everything which has happened since then in tests and such, but we should be the lookout for overreversion. Review by phaller (but as a formality, I don't think it requires direct review.)
* StringBuilder no longer violates the Seq revers...Paul Phillips2010-04-241-0/+22
| | | | | | | | | | | | 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.
* As a brief diversion from real work, implemente...Paul Phillips2010-04-061-11/+0
| | | | | | | | | As a brief diversion from real work, implemented Damerau–Levenshtein and ran it on trunk to elicit obvious misspellings. Unfortunately they're mostly in places like compiler comments which real people never see, but I fixed them anyway. All those English Lit majors who peruse our sources are sure to be pleased. No review.
* If I work on this patch any longer without chec...Paul Phillips2010-04-0510-39/+23
| | | | | | | | | | | | | | | | If I work on this patch any longer without checking in I will go stark raving mad. It is broken up into a couple pieces. This one is the changes to test/. It includes fixing a bunch of tests, removing deprecated constructs, moving jars used by tests to the most specific plausible location rather than having all jars on the classpath of all tests, and some filesystem layout change (continuations get their whole own srcpath.) This would be the world's most tedious review, so let's say no review. [Note: after this commit, I doubt things will build very smoothly until the rest of the partest changes follow. Which should only be seconds, but just in case.]
* improved cps transform of partial functions.Tiark Rompf2010-04-033-38/+0
|