summaryrefslogtreecommitdiff
path: root/test/files
Commit message (Collapse)AuthorAgeFilesLines
*-. Merge commit 'refs/pull/543/head'; commit 'refs/pull/544/head'; commit ↵Paul Phillips2012-05-1318-7/+163
|\ \ | | | | | | | | | 'refs/pull/546/head' into develop
| | * Test case closes SI-5137.Jason Zaugg2012-05-131-0/+17
| |/ | | | | | | virtpatmat strikes again.
| * Merge branch 'master' of https://github.com/scala/scalaPaul Phillips2012-05-124-2/+22
| |\
| | * Test case closes SI-5037.Paul Phillips2012-05-122-0/+20
| | |
| | * Clutch modification to tree printing.Paul Phillips2012-05-122-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't print trees under -Xprint:all if they're identical to the tree printed at the previous phase. It only works for a single compilation unit but that is a huge step forward for us debuggers. For instance this file: trait Foo { def f = 5 } used to produce 332 lines of output and now produces 92, with zero loss of information. It ends with: [[syntax trees at end of cleanup]] // a.scala: tree is unchanged since mixin [[syntax trees at end of icode]] // a.scala: tree is unchanged since mixin [[syntax trees at end of inliner]] // a.scala: tree is unchanged since mixin [[syntax trees at end of inlineExceptionHandlers]] // a.scala: tree is unchanged since mixin [[syntax trees at end of closelim]] // a.scala: tree is unchanged since mixin [[syntax trees at end of dce]] // a.scala: tree is unchanged since mixin [[syntax trees at end of jvm]] // a.scala: tree is unchanged since mixin
| | |
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| | \
| *-------------. \ Merge remote-tracking branches 'retronym/ticket/5407', ↵Paul Phillips2012-05-1213-5/+124
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | 'scalamacros/topic/macrocherrypick', 'lrytz/t5626', 'lrytz/t5009', 'retronym/ticket/5029', 'retronym/ticket/4025', 'retronym/topic/quieter-nsdhnao' and 'retronym/ticket/1133' into develop
| | | | | | | | | * Confirm extractor based pattern matches don't explode exponentially.Jason Zaugg2012-05-121-0/+32
| | | | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes SI-1133, thanks virtpatmat.
| | | | | | | * / A REPL pattern matching crasher that crashes no more.Jason Zaugg2012-05-122-0/+31
| | | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not due to virtpatmat, mind you; it passes with -Xoldpatmat. Closes SI-4025.
| | | | | | * / Another bug bites virtpatmat's dust.Jason Zaugg2012-05-122-0/+4
| | | | | | |/ | | | | | | | | | | | | | | | | | | | | | Test case closes SI-5029.
| | | | | * | Fix SI-5009: case-class copy method now eta-expands over higher parameter lists.Lukas Rytz2012-05-115-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example: Given case class C(a: Int)(b: Int) if you call (new C(1)(2)).copy(a = 10)), you get a function (f: Int => C) such that (f.apply(20)) yields a (new C(10)(20)).
| | | | * | | Fix SI-5626.Lukas Rytz2012-05-111-0/+12
| | | | |/ / | | | | | | | | | | | | | | | | | | By not replacing 'CaseClass.apply()' factor by 'new CaseClass()' when the class type 'CaseClass' is not accessible.
| | * | | / Test case closes SI-5407Jason Zaugg2012-05-122-0/+19
| | | |_|/ | | |/| | | | | | | | | | | | It still breaks as described in the ticket under -Xoldpatmat.
* | / | | Test for SI-5394.Simon Ochsenreither2012-05-121-0/+4
|/ / / /
| | | |
| \ \ \
| \ \ \
| \ \ \
| \ \ \
| \ \ \
*-----. \ \ \ Merge commit 'refs/pull/530/head'; commit 'refs/pull/531/head'; commit ↵Paul Phillips2012-05-1132-89/+383
|\ \ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | | | | | | | | | 'refs/pull/532/head'; commit 'refs/pull/533/head'; commit 'refs/pull/534/head' into develop
| | | | * | | Test case closes SI-4124.Jason Zaugg2012-05-122-0/+28
| | | | |/ / | | | | | | | | | | | | | | | | | | This looks like a job for... virtpatmat!
| | | | * | Test case closes SI-5165.Paul Phillips2012-05-113-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | Also fixed by annotation/enum commit.
| | | | * | Recognize java enums as constants from source.Paul Phillips2012-05-113-0/+16
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | Fixed up one of the mismatches between how java source is modeled and how java bytecode is modeled. We should get the rest of them too. Closes SI-2764.
| | | * | fixes a problem with an extractor object overloaded by a regular defEugene Burmako2012-05-111-0/+32
| | |/ /
| | | |
| | | \
| | | \
| | | \
| | *---. \ Merge commit 'refs/pull/527/head'; commit 'refs/pull/528/head'; commit ↵Paul Phillips2012-05-114-0/+75
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | 'refs/pull/529/head' into develop
| | | | | * | Fix for SI-5654.Lukas Rytz2012-05-101-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | More details as code comment and in the bug database.
| | | | * | | Test case closes SI-2435.Jason Zaugg2012-05-111-0/+27
| | | | | | |
| | | * | | | Forbid forward refs from self constructor invocations.Jason Zaugg2012-05-112-0/+35
| | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents the wheels falling off during later compiler phases, or, worse, during bytecode verification. Closes SI-4098.
| | * / / / Removing redunant/passing tests from pending.Paul Phillips2012-05-103-0/+15
| | |/ / /
| | * | | A whole bunch of checkfile updates.Paul Phillips2012-05-107-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | | Wasn't me this time (I don't think!) Mr. Robot can't get here too soon for me.
| | * | | Checkfile update.Paul Phillips2012-05-101-44/+44
| | | | | | | | | | | | | | | | | | | | Wonder if we should have a special area for high-turnover checkfiles.
| | * | | Merge commit 'refs/pull/526/head' into developPaul Phillips2012-05-103-0/+70
| | |\ \ \
| | | * | | Fixed SI-5708. Correctly compute accessibility for object members.Iulian Dragos2012-05-103-0/+70
| | | | | |
| | * | | | Test cases.Paul Phillips2012-05-105-0/+41
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Closes SI-4482, SI-4651, SI-3702. Pending tests for SI-1832, SI-3439, SI-5091, SI-5231, SI-5265.
* | / / / fix test so that new patmat is testedAdriaan Moors2012-05-102-2/+1
| |/ / / |/| | |
* | | | Merge commit 'refs/pull/521/head' into developPaul Phillips2012-05-101-0/+13
|\ \ \ \
| * | | | Fixes SI-5640Dominik Gruntz2012-05-101-0/+8
| | | | |
| | | | |
| \ \ \ \
*-. \ \ \ \ Merge commit 'refs/pull/522/head'; commit 'refs/pull/523/head' into developPaul Phillips2012-05-102-0/+5
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| | * | | | A bunch of fixes for positions when dealing with partial functionsHubert Plociniczak2012-05-102-0/+5
| | | | | |
* | | | | | Revert "Fix for ## inconsistency."Paul Phillips2012-05-101-5/+0
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 58bb2d1bd2000ac3aa2c64b6c5dc56c91e911860. I guess this must be what's failing the nightly.
* | | | | 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-091-0/+10
| | | | | | | | | | | | | | | | | | | | 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
|\ \ \ \ \ | |_|_|/ / |/| | | |