summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Adding the Actor Migration Kit.Vojin Jovanovic2012-05-1822-0/+1293
| | | | | | | | | | | | Kit consists of: 1) The StashingActor which adopts an interface similar to Akka. 2) Props mockup for creating Akka like code 3) Pattern mockup 4) Test cases for every step in the migration. 5) MigrationSystem which will paired on the Akka side. Review of the code : @phaller Review of the build: @jsuereth
* Merge pull request #566 from lrytz/wip/t4928Adriaan Moors2012-05-183-6/+15
|\ | | | | Fix SI-4928
| * Fix SI-4928Lukas Rytz2012-05-163-6/+15
| | | | | | | | better error message when a parameter is first defined positionally, then with a named argument.
* | Merge pull request #563 from milessabin/feature/enrich-gentraversablesJosh Suereth2012-05-172-0/+34
|\ \ | | | | | | Added infrastructure to enable easy enrichment of GenTraversables.
| * | Added infrastructure to enable easy enrichment of GenTraversables.Miles Sabin2012-05-172-0/+34
| | |
* | | A band-aid solution for SI-5803.Jason Zaugg2012-05-172-0/+8
|/ / | | | | | | | | | | | | | | Since ae5ff662, resetAttrs duplicates trees, which doesn't preserve ApplyConstructor. My attempt to modify TreeCopier to do so proved trickier than expected. In any case, ApplyConstructor is not long for this world, and is only used in tree printing to distinguish `new X` from regular Apply trees, so this should suffice pending full surgery.
* | Merge pull request #558 from lrytz/wip/t5259Josh Suereth2012-05-161-0/+21
|\ \ | | | | | | Fix SI-5259
| * | Fix SI-5259Lukas Rytz2012-05-151-0/+21
| | | | | | | | | | | | Calling the type checker on an Ident tree instead of using gen.mkAttributedRef assigns a SingleType to the tree.
* | | Merge pull request #557 from lrytz/wip/t5610Josh Suereth2012-05-162-0/+36
|\ \ \ | |_|/ |/| | Fix for SI-5610
| * | Fix for SI-5610Lukas Rytz2012-05-152-0/+36
| |/
* | Removing more unneeded code.Paul Phillips2012-05-156-102/+5
| |
* | Test adjustments.Paul Phillips2012-05-151-1/+3
| |
* | Removing extraneous files.Paul Phillips2012-05-1512-916/+0
| | | | | | | | Culling accumulated unnecessary code.
* | Debugging output tweaks.Paul Phillips2012-05-141-1/+1
|/ | | | And undeprecated Positional.
*-----. Merge commit 'refs/pull/547/head'; commit 'refs/pull/548/head'; commit ↵Paul Phillips2012-05-148-25/+54
|\ \ \ \ | | | | | | | | | | | | | | | 'refs/pull/549/head'; commit 'refs/pull/550/head'; commit 'refs/pull/551/head' into develop
| | | | * Better fix for SI-5676. Review by @paulpHubert Plociniczak2012-05-144-25/+27
| | | | |
| | | * | Closes SI-5796.Hubert Plociniczak2012-05-141-0/+8
| | | |/
| | * | fix SI-5384Lukas Rytz2012-05-141-0/+7
| | | | | | | | | | | | | | | | make TreeInfo recognize constructor calls after named arguments transformation.
| * | | Added test case for commit f7d5f45 (re SI-5552)Erik Osheim2012-05-142-0/+12
|/ / /
| | |
| \ \
*-. \ \ 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-1144-252/+445
|\ \ \ \ \ \ \ \ | | | |_|_|_|/ / | | |/| | | | | | | | | | | | | '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-107-66/+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-105-92/+65
| | |\ \ \ \
| | | * | | | Fixed SI-5708. Correctly compute accessibility for object members.Iulian Dragos2012-05-105-92/+65
| | | | | | |
| | * | | | | Test cases.Paul Phillips2012-05-1010-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes SI-4482, SI-4651, SI-3702. Pending tests for SI-1832, SI-3439, SI-5091, SI-5231, SI-5265.
| | * | | | | More useful crash reports.Paul Phillips2012-05-101-5/+5
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you can't get your hands on something which crashes scalac - I know, I know - you can try this ready-made crasher. % cat test/pending/pos/t4717.scala trait Bounds[@specialized A] { // okay without `>: A` def x[B >: A]: Unit = new Bounds[B] { lazy val it = ??? // def or val okay it } } % scalac -d /tmp test/pending/pos/t4717.scala error: while compiling: test/pending/pos/t4717.scala during phase: specialize library version: version 2.10.0-20120510-134429-ce1d68ed19 compiler version: version 2.10.0-20120510-152646-ba4dfd1e63 reconstructed args: -d /tmp last tree to typer: Select(This(trait Bounds$mcZ$sp), x$mcZ$sp) symbol: method x$mcZ$sp in trait Bounds$mcZ$sp (flags: override <method> <specialized>) symbol definition: override def x$mcZ$sp[B >: Boolean](): Unit tpe: [B >: Boolean]()Unit symbol owners: method x$mcZ$sp -> trait Bounds$mcZ$sp -> package <empty> context owners: value it -> anonymous class $anon -> method x$mcZ$sp -> trait Bounds$mcZ$sp -> package <empty> == Enclosing template or block == Block( Assign( $anon.this."it " Apply( // def ???(): Nothing in object Predef, tree.tpe=Nothing scala.this."Predef"."$qmark$qmark$qmark" // def ???(): Nothing in object Predef, tree.tpe=()Nothing Nil ) ) $anon.this."it " // lazy private[this] var it: Nothing, tree.tpe=Nothing ) == Expanded type of tree == PolyType( typeParams = List(TypeParam(B >: Boolean)) resultType = NullaryMethodType( resultType = TypeRef(TypeSymbol(final class Unit extends AnyVal)) ) ) // And then the usual stack trace
* | / / / / 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
|\ \ \ \ \