summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* run patmat after typer, but not *right* afterAdriaan Moors2012-05-041-2/+4
| | | | sbt needs that spot right after type for its phase xsbt-api
* Fix for one of the oldest open soundness bugs.Paul Phillips2012-05-046-16/+47
| | | | | | | | | | | | | | | | | | | Closes SI-963, since it was one of my random 30 it won the prize. The trick after adding the stability check (which has been sitting there commented out for 3+ years) was that implicit search depended on the wrongness, because memberWildcardType would create scopes with members of the form ?{ val name: tp } And since a def shouldn't match that, fixing it broke everything until I flipped it around: memberWildcardType should be seeking ?{ def name: tp } It could also search for a mutable value: the relevant quality is that it not be stable so it doesn't have a tighter type than the members it hopes to match.
* Fix for broken non-local returns.Paul Phillips2012-05-045-3/+59
| | | | | Don't change the owner of a return if the new owner is nested inside the old owner. Closes SI-5612.
* Test case for SI-5106.Paul Phillips2012-05-032-0/+16
|
* Fix for implicit class / value class collision.Paul Phillips2012-05-032-6/+19
| | | | | | | | | | | | | | 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.
* Pushing ClassfileParser toward a new day.Paul Phillips2012-05-036-329/+141
| | | | | | Removed JacoMetaATTR. Removed MetaParser.
* Improving organization of classfile parser.Paul Phillips2012-05-033-293/+298
|
* Clarified the status of SI-13.Paul Phillips2012-05-031-31/+30
| | | | Through the oracle of pos/t1279a.scala.
* Fix for Dynamic interaction with private methods.Paul Phillips2012-05-033-10/+23
| | | | | | 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-0318-0/+25
| | | | | | | | 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-3718.Paul Phillips2012-05-039-65/+109
| | | | | | | And for a bunch of other tickets where we unleash a stack trace rather than printing a sensible error message. But SI-3718 is a continuations plugin crash, now a reasonable if somewhat vague error.
* Test cases for SI-5472, SI-5399, SI-5685.Paul Phillips2012-05-036-11/+160
|
* Fix for SI-5608, crasher with value classes.Paul Phillips2012-05-034-2/+17
| | | | | | 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.
* Removed BackquotedIdent.Paul Phillips2012-05-037-27/+42
| | | | | | | | | | | | In favor of a marker attachment using Attachment, as suggested in comments. (The Attachment interface needs work.) I did this bit trying to fix SI-5715, but it's still a bit elusive because the Ident node is thrown away as soon as there's a member definition. Also, as far as I can see this will if anything propagate the backquotedness of an identifier less effectively than before, because TreeCopiers don't copy attachments. Maybe that's on the "todo" list? The whole idea seems to depend on their being propagated to copies.
* Hardening implicit classes.Paul Phillips2012-05-033-3/+18
| | | | Closes SI-5728.
* Moved a warning behind -Xlint.Paul Phillips2012-05-032-2/+2
| | | | | | Eventually "-Xlint would have told you not to do that" will be a catchphrase, like "I love it when a plan comes together" or "respect mah authoritah."
*---. Merge commit 'refs/pull/467/head'; commit 'refs/pull/468/head'; commit ↵Paul Phillips2012-05-03209-730/+1358
|\ \ \ | | | | | | | | | | | | 'refs/pull/469/head'; commit 'refs/pull/470/head' into develop
| | | * Fix SI-4976 partiallyKato Kazuyoshi2012-05-034-3/+42
| | | | | | | | | | | | | | | | | | | | If a package have a package object, generate the package's "linearization" from the object.
| | * | SI-5703: normalize refined types moreAdriaan Moors2012-05-0310-34/+86
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * Eliminating reflective calls.Paul Phillips2012-05-029-31/+62
| | | | | | | | | | | | | | | Frobbed knobs and made little traits until all relevant looking reflective calls were gone.
| | * Fixes the backticks in use case signature crashVlad Ureche2012-05-023-5/+50
| | | | | | | | | | | | | | | | | | | | | | | | Suggested by Simon in https://groups.google.com/forum/?hl=en&fromgroups#!topic/scala-internals/z7s1CCRCz74 Now it eliminates backticks and gracefully bails out with an error message when it can't remove the wiki syntax.
| | * Merge branch 'may2' of /scala/trunk into developPaul Phillips2012-05-023-7/+84
| | |\
| | | * Unanchored regex extractors.Paul Phillips2012-05-023-7/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-025-5/+44
| | |\ \ | | | |/ | | |/|
| | | * SI-5543: Ctor default arg wrongly scoped (revised)Som Snytt2012-04-284-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-261984-17278/+38680
| | | |\ | | | | | | | | | | | | | | | | | | | | 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-234-4/+38
| | | | |
| | | | |
| | | \ \
| | | \ \
| | | \ \
| | | \ \
| | | \ \
| | | \ \
| | | \ \
| | *-------. \ \ Merge commit 'refs/pull/457/head'; commit 'refs/pull/458/head'; commit ↵Paul Phillips2012-05-02141-382/+496
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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
| | | | | | | * | | Fixes SI-4478.Simon Ochsenreither2012-05-02119-180/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replaced/simplified usages of "wrt". - Added backticks to $Coll definitions, so stuff like "immutable.Stack" hopefully stops being interpreted as the end of a sentence and shown like that in the summary line of ScalaDoc's method description. See collection.immutable.Stack's sortBy. Additionally, it looks nicer this way. - Fixes the typo mentioned in SI-5666.
| | | | | | * | | | No one define sh_highlightDocumentKato Kazuyoshi2012-05-031-2/+1
| | | | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This line was added on 2621ee63285808785159a3c24c9e5a5a723b8b9c but no one define sh_highlightDocument and syntax highlighting is done on Scala-side.
| | | | | * / / / Changes scaladoc of trait DynamicDominik Gruntz2012-05-021-5/+18
| | | | | |/ / /
| | | | * | | | Test cases for si-4536.Aleksandar Prokopec2012-05-022-0/+54
| | | | | | | |
| | | | * | | | Pending test for si-4683.Aleksandar Prokopec2012-05-021-0/+11
| | | | | | | |
| | | | * | | | Test case for si-5198.Aleksandar Prokopec2012-05-021-0/+15
| | | | | | | |
| | | | * | | | Pending test for si-5240.Aleksandar Prokopec2012-05-021-0/+11
| | | | | | | |
| | | | * | | | Pending test for si-5514Aleksandar Prokopec2012-05-021-0/+35
| | | | | | | |
| | | | * | | | Test case for si-5559.Aleksandar Prokopec2012-05-021-0/+23
| | | | | | | |
| | | | * | | | Test case for si-5606.Aleksandar Prokopec2012-05-021-0/+9
| | | | | | | |
| | | | * | | | Test case for si-5618.Aleksandar Prokopec2012-05-022-0/+34
| | | | | | | |
| | | * | | | | remove -Xoldpatmat where test no longer needs itAdriaan Moors2012-05-029-9/+1
| | | | | | | |
| | | * | | | | cleaned up partialfun synth in uncurryAdriaan Moors2012-05-021-186/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed dead code due to new-style matches getting their partialfun treatment during typers
| | | | | | | |
| | | \ \ \ \ \
| | | \ \ \ \ \
| | | \ \ \ \ \
| | | \ \ \ \ \
| | | \ \ \ \ \
| | | \ \ \ \ \
| | | \ \ \ \ \
| | *-------. \ \ \ \ \ Merge commit 'refs/pull/457/head'; commit 'refs/pull/458/head'; commit ↵Paul Phillips2012-05-0235-262/+404
| | |\ \ \ \ \ \ \ \ \ \ | | | | | |_|_|/ / / / / | | | | |/| | | / / / / | | | | | | |_|/ / / / | | | | | |/| | | | | 'refs/pull/459/head'; commit 'refs/pull/460/head'; commit 'refs/pull/461/head'; commit 'refs/pull/462/head' into develop
| | | | | | | * | | | Add a link to "z" in ScaladocKato Kazuyoshi2012-05-031-1/+1
| | | | | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have index/index-z.html but there is no link in HTML.
| | | | | | * / / / fix SI-5682Lukas Rytz2012-05-022-6/+7
| | | | | | |/ / /
| | | | | * | | | Pending test for si-5676.Aleksandar Prokopec2012-05-022-0/+26
| | | | | | | | |
| | | | | * | | | Add pending test for si-5698.Aleksandar Prokopec2012-05-023-0/+36
| | | | | | | | |
| | | | | * | | | Add pending test for SI-5018.Aleksandar Prokopec2012-05-021-0/+34
| | | | | |/ / /
| | | | * | | | SI-5542 closed by test caseAdriaan Moors2012-05-022-0/+4
| | | | | | | |
| | | | * | | | un-cps expected type in translateMatchAdriaan Moors2012-05-021-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... where it belongs, instead of in MatchTransformer