summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* The first reasonably satisfying classpath commit.Paul Phillips2010-02-181-2/+3
| | | | | there with this one. Documentation to come. Review by community.
* Tighter pattern matching hits the street.Paul Phillips2010-02-185-3/+57
| | | | | | | | | | | | | is final and does not conform to the pattern, it will no longer compile. See all the exciting things you can no longer do: "bob".reverse match { case Seq('b', 'o', 'b') => true } // denied! "bob".toArray match { case Seq('b', 'o', 'b') => true } // rejected! final class Dunk def f3(x: Dunk) = x match { case Seq('b', 'o', 'b') => true } // uh-uh! And so forth. Review by odersky.
* ...and managed to miss the key file in getting ...Paul Phillips2010-02-171-1/+6
| | | | | ...and managed to miss the key file in getting past partest. No review.
* Test file for last commit.Aleksandar Pokopec2010-02-171-0/+31
|
* Checking the symbols of parameters in overloade...Hubert Plociniczak2010-02-173-0/+19
| | | | | | | | | Checking the symbols of parameters in overloaded methods didn't seem to work in all cases. Apparently the enclosing class of the owner of the parameter was changing during the compilations from trait to the implementation class. This was causing annoying excessive compilation for Types.scala.
* Fix and test case for #3031. Review by odersky.Miles Sabin2010-02-171-0/+5
|
* Disabled JavaInteraction test.Paul Phillips2010-02-152-0/+0
| | | | | | | | | of time because it fails if you can't connect to the screen of the test machine. And then if any test fails, the stability test doesn't run. We badly a separate testing area for tests which are prone to failure for reasons which are unrelated to the quality ostensibly being tested. No review.
* More classpath work, and cleanups in the vicini...Paul Phillips2010-02-142-0/+36
| | | | | | | More classpath work, and cleanups in the vicinities of everything manipulating classpaths. Review by anyone willing to slog through the approximately dozen different ways the classpath can be influenced.
* The non-intrusive bits of my hopefully pending ...Paul Phillips2010-02-111-5/+0
| | | | | | | | | | | | The non-intrusive bits of my hopefully pending "use the static type of the scrutinee to rule out some type/extractor patterns" patch. Includes a cleanup of the (still inadequate) type-parameter-ignoring match test which had been interfering with martin's digestion. Also: implicit search is disabled when typing a pattern, because the matcher never invokes implicits to satisfy a pattern. At worst maybe we'll get a performance bump. No review.
* Removed leftovers of r20857, added test for #3045Hubert Plociniczak2010-02-113-0/+11
|
* Disabled failing test. Review by plocinic.Paul Phillips2010-02-107-0/+0
|
* Closes #2651Hubert Plociniczak2010-02-1020-0/+88
|
* close #2984. review by community.Lukas Rytz2010-02-101-0/+5
|
* close #3003. no review, already done by dragos.Lukas Rytz2010-02-103-0/+13
|
* Fixed partially specialized classes.Iulian Dragos2010-02-092-0/+6
|
* `replaceSomeIn` method added.Aleksandar Pokopec2010-02-091-5/+6
|
* testdata changedilyas2010-02-051-4/+4
|
* some scalap tweaksilyas2010-02-052-3/+3
|
* Unique's seeming victory is overruled by commit...Paul Phillips2010-02-045-8/+8
| | | | | | Unique's seeming victory is overruled by committee. It is "distinct", not "unique", wherein lies the nub. No review.
* A big push to make the interpreter easier to in...Paul Phillips2010-02-032-8/+6
| | | | | | | | | | | | A big push to make the interpreter easier to instantiate without having to dodge bullets. It shouldn't have to be any harder than this: scala> new scala.tools.nsc.Interpreter().evalExpr[Int]("5*5") res0: Int = 25 ...and now it isn't. Review by community.
* Striking while the iron is hot, renamed removeD...Paul Phillips2010-02-035-8/+8
| | | | | | | | | Striking while the iron is hot, renamed removeDuplicates to unique and deprecated removeDuplicates. The debate between distinct and unique was vigorous but unique won by a freckle. (Dark horse 'nub' was disqualified for taking performance enhancers.) The only thing which might need review is the choice of name, but review by odersky.
* Made sliding/grouped throw an exception when re...Paul Phillips2010-02-031-0/+13
| | | | | | Made sliding/grouped throw an exception when read past the end. Closes #3017.
* Fixes the problem mentioned in #2882, which see...Hubert Plociniczak2010-02-034-1/+1
| | | | | Fixes the problem mentioned in #2882, which seems to be the reason for #2280 - allow simple ananlysis on java sources. Review by dragos
* Correctly check annotated types.Hubert Plociniczak2010-02-023-0/+9
|
* Closes #3009.Philipp Haller2010-02-022-0/+36
|
* Fixed tests. No review.Hubert Plociniczak2010-02-022-2/+2
|
* suppresses generation of manifests for abstract...Martin Odersky2010-02-012-3/+5
| | | | | suppresses generation of manifests for abstract type members.
* Exclude anonymous function classes from the def...Hubert Plociniczak2010-02-014-0/+28
| | | | | | | | Exclude anonymous function classes from the definitions in dependency analysis. This was causing spurious errors in for example Global.scala and Interpreter.scala because of fresh names numbering. Also cleanup up some code. No review.
* Check recursively the type aliases.Hubert Plociniczak2010-02-015-0/+29
|
* Better test for checking existential types, whe...Hubert Plociniczak2010-01-303-0/+24
| | | | | | | | Better test for checking existential types, where symbols not necessarily have the same name. Added test for that. The problem manifested itself in Globals.scala for variable classpath causing execissive compilation without any reason. No review.
* A compact tree printer, for primitives like mys...Paul Phillips2010-01-302-0/+45
| | | | | | | | | A compact tree printer, for primitives like myself who do all their debugging in the console and need extraneous information filtered out. New option: -Ycompact-trees. Supply that in conjunction with -Xprint:all and suddenly the output is a (relative) masterpiece of concision. Review by anyone who is game to review such a thing. Community?
* Closes #2650.Hubert Plociniczak2010-01-2915-0/+78
|
* Removing defaultGetter field from TermSymbols.Lukas Rytz2010-01-283-2/+6
|
* close #2886 (applied patch). no reviewLukas Rytz2010-01-282-0/+8
|
* Moved some test cases from pending to files sin...Paul Phillips2010-01-2810-32/+0
| | | | | | | | Moved some test cases from pending to files since the bugs they were watching for seem to be fixed. Moved some other test cases from pending to disabled because they deceptively claim to pass while investigation reveals the ticket needs to remain open. Closes #1996, #2660.
* One of those "$.05 for the bolt, $50,000 for kn...Paul Phillips2010-01-286-28/+39
| | | | | | | | | One of those "$.05 for the bolt, $50,000 for knowing where to put it" commits. Closes #425, #816, #2310, #2691. All credit for this patch goes to me for having the genius to know when new eyes were needed (although if you're feeling generous some could also go to walter korman for the actual debugging and code writing part.)
* now correctly fix #2868. no reviewLukas Rytz2010-01-274-0/+21
|
* reverting r20688 for now, no reviewLukas Rytz2010-01-274-21/+0
|
* close #2868.Lukas Rytz2010-01-274-0/+21
|
* Made actor-receivewithin test deterministic.Philipp Haller2010-01-271-0/+2
|
* Another batch of tests. No review.Hubert Plociniczak2010-01-2614-0/+68
|
* Access modifiers added for certain members and ...Aleksandar Pokopec2010-01-261-1/+1
| | | | | | Access modifiers added for certain members and some refactoring in Regex.