summaryrefslogtreecommitdiff
path: root/test/files/pos
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Removing extraneous files.Paul Phillips2012-05-152-3/+0
|/ | | | Culling accumulated unnecessary code.
*---. Merge commit 'refs/pull/547/head'; commit 'refs/pull/548/head'; commit ↵Paul Phillips2012-05-142-0/+15
|\ \ \ | | | | | | | | | | | | 'refs/pull/549/head'; commit 'refs/pull/550/head'; commit 'refs/pull/551/head' into develop
| | * | 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.
* | | Test case closes SI-5137.Jason Zaugg2012-05-131-0/+17
| | | | | | | | | | | | virtpatmat strikes again.
| | |
| \ \
| \ \
| \ \
| \ \
| \ \
| \ \
| \ \
| \ \
| \ \
*---------. \ \ Merge remote-tracking branches 'retronym/ticket/5407', ↵Paul Phillips2012-05-125-2/+50
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | '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.
| | | | | * | 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-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | |
| \ \ \ \
| \ \ \ \
| \ \ \ \
| \ \ \ \
| \ \ \ \
*-----. | | | | Merge commit 'refs/pull/530/head'; commit 'refs/pull/531/head'; commit ↵Paul Phillips2012-05-1111-0/+117
|\ \ \ \| | | | | | | |_|_|/ / | | |/| | | | | | | | | | | 'refs/pull/532/head'; commit 'refs/pull/533/head'; commit 'refs/pull/534/head' into develop
| | | | * | | 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-112-0/+40
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | '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
| | | |/ / /
| | * / / / Removing redunant/passing tests from pending.Paul Phillips2012-05-101-0/+0
| | |/ / /
| | * / / Test cases.Paul Phillips2012-05-101-0/+12
| |/ / / |/| | | | | | | | | | | | | | | | | | | Closes SI-4482, SI-4651, SI-3702. Pending tests for SI-1832, SI-3439, SI-5091, SI-5231, SI-5265.
| | | |
| \ \ \
*-. \ \ \ 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
| |/ /
* | | Fix an inference regression with this.type.Paul Phillips2012-05-091-0/+10
| | | | | | | | | | | | Closes SI-5210.
* | | 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.
* | Fix for aliasing bug in reifier.Paul Phillips2012-05-081-0/+8
| | | | | | | | Closes SI-5769.
* | Merge commit 'refs/pull/479/head'; commit 'refs/pull/480/head'; commit ↵Paul Phillips2012-05-061-0/+20
|\ \ | |/ |/| | | '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 missing methods to GenTraversableLike.Aleksandar2012-05-061-0/+20
| |
* | Test case closes SI-1785.Jason Zaugg2012-05-051-0/+7
|/
* Fix for implicit class / value class collision.Paul Phillips2012-05-031-0/+6
| | | | | | | | | | | | | | New this week, on SCALA. Implicit class: "Spin me up an implicit method with my name." Value class: "I need a companion object, pronto." Narrator: "All was well with this arrangement... UNTIL." What happens when these two wacky SIPs get together in the very same class? You'll laugh until, eventually, you cry! Weeknights at 9:30pm, only on SCALA. Closes SI-5667.
* Clarified the status of SI-13.Paul Phillips2012-05-031-31/+30
| | | | Through the oracle of pos/t1279a.scala.
* Moved passing tests from pending to files.Paul Phillips2012-05-033-0/+51
| | | | | | | | 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.
*---. Merge commit 'refs/pull/467/head'; commit 'refs/pull/468/head'; commit ↵Paul Phillips2012-05-038-0/+118
|\ \ \ | | | | | | | | | | | | 'refs/pull/469/head'; commit 'refs/pull/470/head' into develop
| | * | SI-5703: normalize refined types moreAdriaan Moors2012-05-032-0/+6
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | 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 commit 'refs/pull/457/head'; commit 'refs/pull/458/head'; commit ↵Paul Phillips2012-05-021-0/+15
| | |\ \ \ | |_|_|_|/ |/| | | | | | | | | '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 case for si-5198.Aleksandar Prokopec2012-05-021-0/+15
| |_|_|/ |/| | |
| | * | Merge commit 'refs/pull/457/head'; commit 'refs/pull/458/head'; commit ↵Paul Phillips2012-05-023-0/+10
| |/|\| |/| | | | | | | | | | | 'refs/pull/459/head'; commit 'refs/pull/460/head'; commit 'refs/pull/461/head'; commit 'refs/pull/462/head' into develop
| | | * SI-5542 closed by test caseAdriaan Moors2012-05-022-0/+4
| |_|/ |/| |
| | * SI-5729: TypeVar experimentals iff -XexperimentalAdriaan Moors2012-05-021-0/+6
| |/ |/| | | | | | | | | it used to also be enabled by -Yvirtpatmat, which is now on by default, but this type hackery is no longer necessary to bootstrap under the new pattern matching scheme, so let's only turn it on when people are feeling -Xexperimental
| * SI-5720: Qual block doesn't update sym ownerSom Snytt2012-05-022-0/+87
|/ | | | | | A one-line change to blockWithQualifier. The symptom is undefined tmp var symbols in the backend; lamba lift thinks the tmp var is free and adds it to anonfun ctors.
* Removed a few more @deprecated members.Paul Phillips2012-04-2811-21/+21
| | | | | The ones which remain I'm not removing on purpose, as I know from experience it's more trouble than it's yet worth.
*-. Merge commit 'refs/pull/443/head'; commit 'refs/pull/444/head' into developPaul Phillips2012-04-262-0/+33
|\ \
| | * SI-5702 Pattern parser halts on starSom Snytt2012-04-261-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In patterns, the parser halts when it sees stars. This means it does not handle infix notation for a case class named "*". This patch uses lookahead to decide whether to parse '_' '*' as a sequence pattern or as the start of infix. (For both normal and error cases, the tokens are always consumed immediately.) Error messages are improved for _* (as a help to learners) and slightly improved recovery helps the parse continue. The entry point for XML patterns is now distinct; otherwise, the change is local to pattern3-simplepattern; the entry point for simplepattern() is unchanged because it is commented "hook for IDE."
| * | SI-5690: no-selector match in function yields functionAdriaan Moors2012-04-261-0/+18
|/ / | | | | | | | | | | | | the implicit beta-reduction performed by typedFunction on a Function(.., Match(EmptyTree, ...)) must of course only be done when the selector actually is empty... (yes, typedMatchAnonFun needs to be cleaned up, I know)
* | fixes SI-5706Eugene Burmako2012-04-252-0/+11
| |
* | resurrects manifests in their pre-2.10 gloryEugene Burmako2012-04-2313-0/+310
| |
* | migrates stdlib and compiler to tagsEugene Burmako2012-04-2314-51/+51
|/ | | | | * all usages of ClassManifest and Manifest are replaced with tags * all manifest tests are replaced with tag tests
* Merge commit 'refs/pull/408/head'Paul Phillips2012-04-161-1/+0
|\
| * don't emit tiny switches: optimizer chokes on themAdriaan Moors2012-04-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | workaround for inliner bug in run/t3835 see SI-5672 for the optimizer bug tiny switches (2 cases or less) don't make sense anyway, so this is not a big deal the annotDepMethType.flags contained -Xexperimental, which causes Any* to be considered as a valid return type, before we weren't exposed to this, because the product methods used (tiny) switches; with this change, they went back to pattern matches in any case, the -Xexperimental was intended to turn on dependent method types, not Any* as valid type (I can only assume), and they are now on by default the other tests were affected by our refusal to emit tiny switches
* | Merge commit 'refs/pull/401/head'; commit 'refs/pull/402/head'; commit ↵Paul Phillips2012-04-142-0/+0
|\ \ | |/ |/| | | 'refs/pull/403/head'; commit 'refs/pull/404/head'; commit 'refs/pull/405/head' into develop