summaryrefslogtreecommitdiff
path: root/src/interactive/scala/tools/nsc/interactive/Picklers.scala
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '7d41094' into merge/2.10.x-and-pr-3209-to-masterJason Zaugg2013-12-061-1/+1
| | | | | Conflicts: src/interactive/scala/tools/nsc/interactive/CompilerControl.scala
* Updating Position call sites.Paul Phillips2013-09-271-10/+10
| | | | | | Calling position factories rather than instantiating these particular classes. Not calling deprecated methods. Added a few position combinator methods.
* Move some code from s.t.n.io to s.t.n.interactiveSimon Ochsenreither2013-06-271-2/+2
| | | | | | | The only usages of scala.tools.nsc.io.{Lexer,Pickler,PrettyWriter, Replayer} can be found in scala.tools.nsc.interactive. Let's move those files closer to their dependencies.
* SI-6815 untangle isStable and hasVolatileTypeAdriaan Moors2013-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | `Symbol::isStable` is now independent of `Symbol::hasVolatileType`, so that we can allow stable identifiers that are volatile in ident patterns. This split is validated by SI-6815 and the old logic in RefChecks, which seems to assume this independence, and thus I don't think ever worked: ``` if (member.isStable && !otherTp.isVolatile) { if (memberTp.isVolatile) overrideError("has a volatile type; cannot override a member with non-volatile type") ``` Introduces `admitsTypeSelection` and `isStableIdentifierPattern` in treeInfo, and uses them instead of duplicating that logic all over the place. Since volatility only matters in the context of type application, `isStableIdentifierPattern` is used to check patterns (resulting in `==` checks) and imports.
* Moved interactive sources into separate directory.Paul Phillips2013-03-091-0/+189
As with the preceding commit, this has build-internal effects only.