summaryrefslogtreecommitdiff
path: root/test
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.
* Fix an inference regression with this.type.Paul Phillips2012-05-092-0/+26
| | | | Closes SI-5210.
* Revert recent commits.Paul Phillips2012-05-092-13/+5
| | | | | This reverts commit 9b6f51d3ae6ddc6571d3101ea715e25a05aa8adb. This reverts commit b5919100e785df58bde35bb24abe9d60b4da08a2.
* Checkfile update.Paul Phillips2012-05-091-58/+58
|
* Restored portion of code removed in a7f68ce32c .Paul Phillips2012-05-091-0/+45
| | | | | | | | | | | | | | | A hole in the net discovered by retronym makes me put back the former special casing of module class type inference; there's no reason to get it wrong. It appears that TypeRef(pre1, sym1, Nil) SingleType(pre2, sym2) are not seen as equivalent if they have different prefixes even if the prefixes should be equivalent. For now I'm leaving it; in principle this patch should eventually be reverted after subtyping and/or the representation of singleton types advances to the point that it isn't necessary. Closes SI-5777.
*---. 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/512/head'; commit 'refs/pull/513/head' into developPaul Phillips2012-05-087-1/+40
|\ \ \
| | * | Fixes SI-5564.Aleksandar Prokopec2012-05-082-0/+4
| | | | | | | | | | | | | | | | Catching typer errors in specialization.
| | * | Add test-case for SI-5564.Aleksandar Prokopec2012-05-081-0/+9
| | |/
| * / Fixed positions in named default applications (no hyperlinking in ↵Iulian Dragos2012-05-085-1/+27
| |/ | | | | | | | | | | conjunction with implicit arguments). Removed even more code in the presentation compiler testing infrastructure. One less level of indirection, and a top-level object gone!
| |
| \
*-. \ Merge commit 'refs/pull/510/head'; commit 'refs/pull/511/head'Paul Phillips2012-05-083-61/+84
|\ \ \
| | * | Test case for SI-5378phaller2012-05-081-0/+19
| | |/
| * | 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-08198-590/+3762
|\ \ \ \ \ \ | | | |_|/ / | | |/| | / | | | | |/ 'refs/pull/506/head'; commit 'refs/pull/507/head'; commit 'refs/pull/508/head' into develop
| | | * / Changes scala.math.signum to return negative zeros.Dominik Gruntz2012-05-081-0/+6
| | | |/
| | * | 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
| |/ / |/| |
| * | Add test for t5564 in pending/posphaller2012-05-081-0/+5
| |/
| * Fix for aliasing bug in reifier.Paul Phillips2012-05-081-0/+8
| | | | | | | | Closes SI-5769.
| * Test case closes SI-3798.Paul Phillips2012-05-072-0/+11
| |
| *-----------------. Merge remote-tracking branches 'scalamacros/ticket/5722', ↵Paul Phillips2012-05-0716-0/+158
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'scalamacros/ticket/5726', 'scalamacros/ticket/5610', 'scalamacros/ticket/5654', 'scalamacros/ticket/5521', 'scalamacros/ticket/5585', 'scalamacros/ticket/5503', 'scalamacros/ticket/4728', 'scalamacros/ticket/5534' and 'scalamacros/ticket/4560'
| | | | | | | | | | | * test for SI-4560Eugene Burmako2012-05-081-0/+9
| | | | | | | | | | | |
| | | | | | | | | | * | test for SI-5534Eugene Burmako2012-05-081-0/+11
| | | | | | | | | | |/
| | | | | | | | | * / test for SI-4728Eugene Burmako2012-05-082-0/+13
| | | | | | | | | |/
| | | | | | | | * / test for SI-5503Eugene Burmako2012-05-082-0/+19
| | | | | | | | |/
| | | | | | | * / test for SI-5585Eugene Burmako2012-05-081-0/+18
| | | | | | | |/
| | | | | | * / test for SI-5521Eugene Burmako2012-05-081-0/+3
| | | | | | |/
| | | | | * / test for SI-5654Eugene Burmako2012-05-081-0/+4
| | | | | |/
| | | | * / test for SI-5610Eugene Burmako2012-05-084-0/+42
| | | | |/
| | | * / tests for SI-5726Eugene Burmako2012-05-072-0/+33
| | | |/
| | * / test for SI-5722Eugene Burmako2012-05-071-0/+6
| | |/
| * | Merge commit 'refs/pull/491/head' into developPaul Phillips2012-05-074-0/+89
| |\ \
| | * | 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/486/head'; commit 'refs/pull/487/head'; commit ↵Paul Phillips2012-05-073-4/+49
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 'refs/pull/488/head'; commit 'refs/pull/489/head'; commit 'refs/pull/490/head' into develop
| | | | | * | | minor tag-related fixesEugene Burmako2012-05-071-4/+4
| | | | | | |/ | | | | | |/|
| | | * | | | Add test for t5579 in pending/posphaller2012-05-071-0/+29
| | | | |_|/ | | | |/| |
| | * / | | Test case for SI-2066Heather Miller2012-05-071-0/+16
| | |/ / /
| * / / / Add test files for t5639 in pending/posphaller2012-05-072-0/+14
| |/ / /
| | | |
| | \ \
| | \ \
| | \ \
| | \ \
| | \ \
| | \ \
| | \ \
| | \ \
| | \ \
| *---------. \ \ Merge commit 'refs/pull/479/head'; commit 'refs/pull/480/head'; commit ↵Paul Phillips2012-05-0611-0/+188
| |\ \ \ \ \ \ \ \ | | | | | | |_|/ / | | | | | |/| | | | | | | | | | | | 'refs/pull/481/head'; commit 'refs/pull/482/head'; commit 'refs/pull/483/head'; commit 'refs/pull/484/head'; commit 'refs/pull/485/head' into develop
| | | | | | | * | Add test for t5695 in pending/runphaller2012-05-073-0/+22
| | | | | | | |/
| | | | | | * / Add test for t5708 in pending/presentationphaller2012-05-063-0/+97
| | | | | | |/