rename TupleN and TupleTypeN into SyntacticTuple and SyntacticTupleType
better support for ValDefs, VarDefs and DefDefs
make the postfixOps warning go away
unify handling of references to scala members for functions and tuples
streamline implementation of annotation splicing

Syntax spec mislead me to believe that annotation can't have type
parameters or multiple argument lists... I guess the lesson here is
don't trust the spec.
Merge remote-tracking branch 'scala/2.10.x' into merge-2.10.x

Conflicts:
	bincompat-backward.whitelist.conf
	bincompat-forward.whitelist.conf
	src/reflect/scala/reflect/internal/SymbolTable.scala
	src/reflect/scala/reflect/internal/util/WeakHashSet.scala
	src/reflect/scala/reflect/runtime/JavaMirrors.scala
Merge pull request #2881 from adriaanm/license-cleanup

Change Scala license to unmodified 3-clause BSD.
SI-7818 Cast our way out of extended existential angst

`substituteSymbols` is not sophisticated enough to
operate on `TypeSkolem`-s which are based on one of the
"from" symbols.

The pertinant usage of `substituteSymbols` for this bug in
in `Extender`. Recapping on that transform:

    // orig
    class C[T](...) extends AnyVal { def foo[U] = <rhs> }

    // transform
    class C[T] extends AnyVal { ... }
    object C  { def foo$extension[T', U'] = <rhs'> }

Where `<rhs'>` has been subtituted with, among other things,
`[T, U] ~> [T', U']`.

In this case our expected type contains a new type parameter
(of the extension method), whereas the type of the RHS contains
an existential skolem still pinned to the corresponding class type
parameter.

    tree.tpe         = Observable1#7037[_$1#12344]
    <_$1#12344>.info =  <: T#7040
    pt               = Observable1#7037[T#15644]

The limitation of substution is lamented in the comments
of `adaptMismatchedSkolems`, which faces the harder version of
the issue where the skolems are in the expected type.

But, we're in the "easy" case with the skolems in the tree's type;
we can cast our way out of the problem.

See also f335e447 / ed915c54.
SI-7643 Enable newPatternMatching in interactive.

Without it, the enclosed test fails with:

    ArrayBuffer(Problem(RangePosition(partial-fun/src/PartialFun.scala, 62, 62, 77),type mismatch;
     found   : Int => Int
     required: PartialFunction[Int,Int],2))

And with that, we can remove this option altogether.
Merge pull request #2914 from gkossakowski/merge-2.10.x

Merge 2.10.x into master
Fix dbuild meta info: remove scaladoc project

That is, scaladoc is still in the scala-compiler artifact.
Let dbuild know so that it won't freak out.

ps: dbuild-meta.json should be kept in synch with
    src/build/dbuild-meta-json-gen.scala until we can
    automate that in the build
SI-7805 REPL -i startup

Tested with a ReplTest that loads an include script.

ReplTests can choose to be `Welcoming` and keep a
normalized welcome message in their check transcript.

One recent SessionTest is updated to use the normalizing API.
Merge pull request #2855 from adriaanm/modularize-xml-parsers

Modularize: xml & parser-combinators
SI-7815 Dealias before deeming method type as dependent

To enable eta-expansion of method types seen from a prefix that
renders the result type as independent from the parameter symbols.

The enclosed test shows that we dealias types before checking
dependence, and that we do this deeply (e.g. type arguments are
also dealised.)

An existing test, neg/error_dependentMethodTpeConversionToFunction,
confirms that bona-fide dependent methods are still prohibited from
eta expansion.
Merge pull request #2912 from retronym/ticket/7643

SI-7643 Enable newPatternMatching in interactive.
Merge pull request #2917 from som-snytt/issue/7805-repl-i

SI-7805 REPL -i startup
Merge pull request #2900 from nermin/master

Correcting scaladoc for all classes defining withDefaultValue method.
Merge pull request #2865 from folone/trampolines

Alter TailRec to have map and flatMap
Merge pull request #2885 from som-snytt/issue/7791-script-linenums

SI-7791 Line number table reflects underlying file
Merge pull request #2895 from som-snytt/issue/7652-tools-jar-backport

SI-7652 REPL tools jar backport