summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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-106-93/+66
|\
| * Fixed SI-5708. Correctly compute accessibility for object members.Iulian Dragos2012-05-106-93/+66
| |
* | 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.
* | Impl classes printed more accurately.Paul Phillips2012-05-101-1/+2
| | | | | | | | They're not traits.
* | Quieted down a developer warning.Paul Phillips2012-05-101-1/+1
| |
* | Be discriminating about custom hashcodes.Paul Phillips2012-05-106-11/+17
| | | | | | | | If there are no primitives, use the regular boxy one.
* | More useful crash reports.Paul Phillips2012-05-105-24/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Tweak to deal with reflective mirror.Paul Phillips2012-05-101-1/+1
| | | | | | | | | | Stuff written during the era of "one symbol table" is surprised to find two.
* | Merge commit 'refs/pull/524/head'Paul Phillips2012-05-108-121/+169
|\ \ | |/ |/|
| * Fixed partest so it can run in SBT.Josh Suereth2012-05-101-8/+10
| |
| * Don't regenerate properties file if skip is true (i.e. locker/quick is locked)Josh Suereth2012-05-102-4/+4
| |
| * Everything now builds. Partest is bombing about reflection issue.Josh Suereth2012-05-103-153/+5
| |
| * Merge remote-tracking branch 'jsuereth/sbt-build' into sbt-build-0.11.3Josh Suereth2012-05-107-109/+303
| |\
| | * Added an incredibly hacky way for us to override the default sbt compiler ↵Josh Suereth2012-04-032-1/+149
| | | | | | | | | | | | interface.
| | * Fixed up versioning scheme.Josh Suereth2012-04-035-114/+51
| | | | | | | | | | | | SBT build should now mimic ant build for versions.
| | * Fixed build for 0.11.x again. Working on bringing version properties file ↵Josh Suereth2012-04-034-3/+112
| | | | | | | | | | | | up to par.
| * | Fixed plugin dependencies.Josh Suereth2012-05-101-1/+1
| | |
* | | Merge commit 'refs/pull/521/head' into developPaul Phillips2012-05-102-1/+17
|\ \ \
| * | | Fixes SI-5640Dominik Gruntz2012-05-103-8/+16
| | | |
| | | |
| \ \ \
*-. \ \ \ Merge commit 'refs/pull/522/head'; commit 'refs/pull/523/head' into developPaul Phillips2012-05-105-3/+16
|\ \ \ \ \
| | * | | | A bunch of fixes for positions when dealing with partial functionsHubert Plociniczak2012-05-103-3/+8
| | | | | |
| * | | | | Don't forget to execute pending interrupt requests when shutting down the ↵Iulian Dragos2012-05-102-0/+8
| | |_|/ / | |/| | | | | | | | | | | | | presentation compiler.
* | | | | Revert "Fix for ## inconsistency."Paul Phillips2012-05-102-12/+4
| |_|/ / |/| | | | | | | | | | | | | | | | | | | 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-096-45/+214
| | | | | | | | | | | | | | | | No boxing, no MODULE$ indirection.
* | | | Fix an inference regression with this.type.Paul Phillips2012-05-093-2/+28
| | | | | | | | | | | | | | | | Closes SI-5210.
* | | | Revert recent commits.Paul Phillips2012-05-094-41/+68
| | | | | | | | | | | | | | | | | | | | 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-093-2/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0913-76/+96
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 'refs/pull/519/head'; commit 'refs/pull/520/head' into develop
| | | * | | | fixed typoDominik Gruntz2012-05-091-1/+1
| | | | | | |
| | | * | | | removes redundant hash implementation from BoxesRunTime.javaDominik Gruntz2012-05-094-68/+41
| | | |/ / /
| | | * | | Fix for ## inconsistency.Paul Phillips2012-05-082-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | Hopefully without slowing things down overmuch. Closes SI-5640.
| | | * | | Merge commit 'refs/pull/515/head'; commit 'refs/pull/516/head' into developPaul Phillips2012-05-083-1/+21
| | | |\ \ \
| | | | * | | fix SI-1247: don't create a thunk for a by-name argument if the argument ↵Johannes Rudolph2012-05-083-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | expression is a Function0 application
| | | * | | | Added tests for SI-4190.Josh Suereth2012-05-082-0/+9
| | | |/ / /
| | * | | | imporved comment related to SI-5178Lukas Rytz2012-05-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | see 9f9932bd20
| * | | | | Fixes SI-5328. Iterator.patched failed when from=0.Josh Suereth2012-05-083-1/+10
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 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-083-0/+8
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0814-47/+86
|\ \ \ \ \ | |_|_|/ / |/| | | |
| | * | | Fixes SI-5564.Aleksandar Prokopec2012-05-083-8/+27
| | | | | | | | | | | | | | | | | | | | 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-089-36/+46
| | | | | | | | | | | | | | | | | | | | | | | | 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!
| * | | Making the locator more robust in the face of weird originals. And changed ↵Martin Odersky2012-05-082-3/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | positions in AnnotationInfo to avoid position-less trees there. Conflicts: src/compiler/scala/tools/nsc/typechecker/Typers.scala
| | |
| \ \
*-. \ \ Merge commit 'refs/pull/510/head'; commit 'refs/pull/511/head'Paul Phillips2012-05-084-62/+85
|\ \ \ \
| | * | | Test case for SI-5378phaller2012-05-081-0/+19
| | |/ /
| * | | Appendix. Typo that wasn't covered by the test suite.Hubert Plociniczak2012-05-083-62/+66
| | | |