summaryrefslogtreecommitdiff
path: root/test/files/run
Commit message (Collapse)AuthorAgeFilesLines
* Another test for SI-2296.Paul Phillips2012-05-097-0/+98
|
* Custom hashCode methods for case classes.Paul Phillips2012-05-093-44/+90
| | | | No boxing, no MODULE$ indirection.
* Revert recent commits.Paul Phillips2012-05-092-13/+5
| | | | | This reverts commit 9b6f51d3ae6ddc6571d3101ea715e25a05aa8adb. This reverts commit b5919100e785df58bde35bb24abe9d60b4da08a2.
*---. Merge commit 'refs/pull/517/head'; commit 'refs/pull/518/head'; commit ↵Paul Phillips2012-05-098-5/+47
|\ \ \ | | | | | | | | | | | | 'refs/pull/519/head'; commit 'refs/pull/520/head' into develop
| | | * removes redundant hash implementation from BoxesRunTime.javaDominik Gruntz2012-05-092-5/+13
| | | |
| | | * Fix for ## inconsistency.Paul Phillips2012-05-081-0/+5
| | | | | | | | | | | | | | | | Hopefully without slowing things down overmuch. Closes SI-5640.
| | | * Merge commit 'refs/pull/515/head'; commit 'refs/pull/516/head' into developPaul Phillips2012-05-082-0/+12
| | | |\
| | | | * fix SI-1247: don't create a thunk for a by-name argument if the argument ↵Johannes Rudolph2012-05-082-0/+12
| | | | | | | | | | | | | | | | | | | | expression is a Function0 application
| | | * | Added tests for SI-4190.Josh Suereth2012-05-082-0/+9
| | | |/
| * | / Fixes SI-5328. Iterator.patched failed when from=0.Josh Suereth2012-05-082-0/+8
| | |/ | |/| | | | | | | | | | | | | It turns out iterator.patched forgot to drop replacement values if they were at the beginning. This is because the index was advancing before checking to see if replaced elements should be dropped. Moved this behavior to the beginning of next.
* | | Added an additional test case rather than leaving it in my REPL.Josh Suereth2012-05-081-1/+4
| | |
* | | Fixes SI-5201. Adds flatten to TraversableViewLike.Josh Suereth2012-05-082-0/+6
|/ / | | | | | | | | | | | | | | | | Note: This commit exposes a pretty rich type on flatten in views. HOWEVER, because we don't capture the higher kinded type of the underlying collection, it makes returning a more minimal type pretty dang hard. I can imagine a very breaking and painful change of capturing the underling collection as a higher-kinded type as well as the current view type in a *ViewLike.scala. I hope this kind of issue, along with others, drives a rethink of our view API design.
| |
| \
*-. | Merge commit 'refs/pull/510/head'; commit 'refs/pull/511/head'Paul Phillips2012-05-082-61/+65
|\ \|
| * | Appendix. Typo that wasn't covered by the test suite.Hubert Plociniczak2012-05-082-61/+65
| | |
| | |
| \ \
*-. | | Merge commit 'refs/pull/504/head'; commit 'refs/pull/505/head'; commit ↵Paul Phillips2012-05-0869-59/+1351
|\ \| | | | |/ | |/| | | | 'refs/pull/506/head'; commit 'refs/pull/507/head'; commit 'refs/pull/508/head' into develop
| | * Part II of the Lazy Vals Saga: Saving bitmap by the Three Musketeers: Byte, ↵Hubert Plociniczak2012-05-041-1/+1
| | | | | | | | | | | | Int and Long. And Boolean (hey, he also deserves some credit!).
| | * Part I of the Lazy Vals Saga: Bitmaps are no longer inherited.Hubert Plociniczak2012-05-031-2/+1
| |/ |/|
| * Test case closes SI-3798.Paul Phillips2012-05-072-0/+11
| |
| * Fixes SI-5629.Aleksandar Prokopec2012-05-074-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds an additional argument to the unify method in specialization - `tparams`. When this parameter is set to `true`, unification is done over type parameters in poly types as well. Additionally, the unification in specialization now works over type bounds. This ensures that in the below example: trait Foo[@specialized(Int) A] { def bar[B <: A](b: B) {} } class IntFoo extends Foo[Int] { override def bar[B <: Int](b: B) {} } the method `bar` gets correctly determined as a method that needs a special override for its `bar$mcI$sp`.
| *-. Merge commit 'refs/pull/477/head'; commit 'refs/pull/478/head' into developPaul Phillips2012-05-052-0/+52
| |\ \
| | | * Don't admit primitive arrays as a generic Java varargs param.Jason Zaugg2012-05-052-0/+52
| | |/ | | | | | | | | | | | | | | | They were sneaking through as polymorphic Arrays and avoiding boxing. Closes SI-4216
| * | Merge commit 'refs/pull/124/head' into developPaul Phillips2012-05-052-0/+43
| |\ \ | | |/ | |/| | | | | | | Conflicts: src/library/scala/util/parsing/combinator/Parsers.scala
| | * Fixes SI-4929, with a test to verify.Stephen Judkins2012-01-212-0/+43
| | | | | | | | | | | | Also fixes potential issue with Parsers.phrase not being reentrant; however, I was unable to actually reproduce this issue in practice. (The order in which lastNoSuccess was being set and compared seemed to guarantee that it would never actually be a problem).
| * | A couple checkfile updates which snuck by.Paul Phillips2012-05-041-1/+1
| | |
| * | Have ArrayCharSequence reuse its Array.Paul Phillips2012-05-042-0/+275
| | | | | | | | | | | | Your know, for performance. Closes SI-5641.
| | |
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| *-------. \ Merge commit 'refs/pull/471/head'; commit 'refs/pull/473/head'; commit ↵Paul Phillips2012-05-049-0/+176
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 'refs/pull/474/head'; commit 'refs/pull/475/head'; commit 'refs/pull/476/head' into develop
| | | | | | * | Fixes SI-5514.Aleksandar Prokopec2012-05-042-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The acceptIf and acceptMatch parsers now check for end of input. Review by moors.
| | | | | * | | Fixes si-5656.Aleksandar Prokopec2012-05-042-0/+12
| | | | | |/ /
| | | | * / / Fix for si-5577.Aleksandar Prokopec2012-05-042-0/+38
| | | | |/ /
| | | * / / Fix for si-5590.Aleksandar Prokopec2012-05-042-0/+35
| | | |/ /
| | * / / Fix for si-5018.Aleksandar Prokopec2012-05-041-0/+37
| | |/ / | | | | | | | | | | | | Methods keySet, values and withDefault now return serializable collections.
| * / / Fix for broken non-local returns.Paul Phillips2012-05-044-0/+48
| |/ / | | | | | | | | | | | | Don't change the owner of a return if the new owner is nested inside the old owner. Closes SI-5612.
| * | Fix for Dynamic interaction with private methods.Paul Phillips2012-05-032-0/+12
| | | | | | | | | | | | | | | | | | Don't let inaccessible methods prevent calls to *Dynamic, otherwise we are at the mercy of every "private" alteration in every class we inherit. Closes SI-5040.
| * | Moved passing tests from pending to files.Paul Phillips2012-05-0313-0/+324
| | | | | | | | | | | | | | | | | | | | | | | | Most are pattern matcher bugs fixed by virtpatmat. A few are reifier, package object, or miscellaneous. I threw in an original test for SI-2337, to go with those for SI-1697, SI-3705, SI-4415, and SI-1357, all of which (in the interests of making sure this basket has all the eggs) I am closing.
| * | Fix for SI-5608, crasher with value classes.Paul Phillips2012-05-032-0/+13
| | | | | | | | | | | | | | | | | | Anyone who doubts the importance of avoiding duplication is invited to look closely at the cause of this bug as revealed in this one line patch.
| * | Test case closes SI-5655.Paul Phillips2012-05-032-0/+40
| | | | | | | | | | | | | | | Still some issues with the repl namespace, which should be managed in a first class way, not defensively/reactively.
| * | SI-5703: normalize refined types moreAdriaan Moors2012-05-033-22/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | to improve Array[T] java-interop with T[], normalize Object with Object{} to Object fix #SI-5688 by flattening refined types in parents updated check files to reflect flattening of refined types and updated position for refined types
| * | Merge branch 'may2' of /scala/trunk into developPaul Phillips2012-05-022-0/+52
| |\ \
| | * | Unanchored regex extractors.Paul Phillips2012-05-022-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is really by Lanny Ripple <lanny@spotinfluence.com>, but I reworked it because I didn't want to put any more methods onto String. Instead, there is a method on Regex which removes the anchoring quality. """\d\d'"".r.unanchored
| * | | Merge commit 'refs/pull/317/head' into developPaul Phillips2012-05-022-0/+29
| |\ \ \ | | |/ / | |/| |
| | * | SI-5543: Ctor default arg wrongly scoped (revised)Som Snytt2012-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the motivating bug by detecting when a method is the default arg getter for a constructor parameter. That requires fixing a secondary bug where an arbitrary string was used to encode <init> in lieu of <init>.encode. There is no speculative mangling.
| | * | SI-5543: Merge with trunkSom Snytt2012-04-26803-1446/+8686
| | |\ \ | | | | | | | | | | | | | | | | | | | | Reverts name unenmanglement that was objectionable in the previous patch commit 47bfd744177121de08fed489a5b0b1b59a1ae06a.
| | * | | Ctor default-getters unique name and are typed in constructor contextSom Snytt2012-03-232-0/+29
| | | | |
| | | | |
| | \ \ \
| | \ \ \
| | \ \ \
| *---. \ \ \ Merge commit 'refs/pull/457/head'; commit 'refs/pull/458/head'; commit ↵Paul Phillips2012-05-0210-8/+55
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 'refs/pull/459/head'; commit 'refs/pull/460/head'; commit 'refs/pull/461/head'; commit 'refs/pull/462/head'; commit 'refs/pull/463/head'; commit 'refs/pull/464/head'; commit 'refs/pull/465/head' into develop
| | | * | | | | Test cases for si-4536.Aleksandar Prokopec2012-05-022-0/+54
| | | |/ / / /
| | * / / / / remove -Xoldpatmat where test no longer needs itAdriaan Moors2012-05-028-8/+1
| |/ / / / /
| * / / / / moving patmat to its own phaseAdriaan Moors2012-05-023-24/+26
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sort field accessors, necessary after typers -- apparently... don't throw TypeError, use issueTypeError don't run patmat phase when -Xoldpatmat only virtualize matches when -Xexperimental recycle cps type of match for re-typechecking: when one of the internal cps-type-state annotations is present, strip all CPS annotations a cps-type-state-annotated type makes no sense as an expected type (matchX.tpe is used as pt in translateMatch) don't synth FunctionN impls during typer, only do this for PartialFunction updated check now function synth for match is deferred until uncurry patmat-transform try/catch with match in cps cleanup in selective anf remove TODO: can there be cases that are not CaseDefs -- nope
| * | | | Fixs for reflection and getSimpleName.Paul Phillips2012-05-022-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | Since getSimpleName will be crashing us indefinitely, took the expedient route and wrapped the call.
| * | | | Optimization of Predef implicits.Paul Phillips2012-04-301-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | All those wildcards in a default-scoped implicit are expensive, they each lead to a typevar on every search. Restructured the Tuple2/Tuple3 Zipped classes, they're better this way anyway. This also gets all that Tuple[23] code out of genprod.
* | | | Removed a few more @deprecated members.Paul Phillips2012-04-2812-13/+12
| | | | | | | | | | | | | | | | | | | | The ones which remain I'm not removing on purpose, as I know from experience it's more trouble than it's yet worth.