SI-6370 changed ListMap apply0 method to produce correct error message when a key is not found
Current implementation of apply0 relies on tail method to iterate over all keys.
When the list gets to its end, tail produces an 'empty map' message in its exception, which is thrown by ListMap.
This change checks if the collection is empty before calling tail and provides a more appropriate key not found message.

Signed-off-by: Vinicius Miana <vinicius@miana.com.br>
SI-6935 Added readResolve in BoxedUnit
When deserializing Unit, it would return an instance of Object, but not a Scala Unit.
By adding readResolve, the deserialization of Unit will work.
SI-6225 Fix import of inherited package object implicits

The prefix in the ImplicitInfo must be com.acme.`package`.type,
rather than com.acme.
SI-6158 Restore compile error output under partest --show-log

Seems like the ifs and elses didn't quite survive e830a7ce9.

Before:

    ./test/partest --show-log test/files/run/foo.scala
    Testing individual files
    testing: [...]/files/run/foo.scala                                    [FAILED]

Now:

    ./test/partest --show-log test/files/run/foo.scala
    Testing individual files
    testing: [...]/files/run/foo.scala                                    [FAILED]
    foo.scala:1: error: expected class or object definition
    askdfjskl
    ^
    one error found
    1 of 1 tests failed (elapsed time: 00:00:01)
Expanded bytecode testing code.

def sameMethodAndFieldSignatures compares two classes to verify
they have all the same methods and fields, and no others.
Fix for paramaccessor alias regression.

A binary incompatibility with 2.10.0 revealed a bug I had
introduced in c58647f5f2.
Merge pull request #2100 from paulp/pr/fix-super-varargs-saved

Fixing binary compat for $super regression
Tolerate symbol sharing between accessor/field.

Recently, TreeCheckers (-Ycheck) was extended to
report on references to symbols that were not in
scope, which is often a sign that some substitution
or ownership changes have been omitted.

But, accessor methods directly use the type of the
underlying field, without cloning symbols defined
in that type, such as quantified types in existentials,
at the new owner.

My attempt to change this broke pos/existentials.scala.

Instead, I'll just look the other way in TreeCheckers.
SI-7091 Add a diagnostic for the "no acc def buf" error.
Merge pull request #2099 from retronym/ticket/6158

SI-6158 Restore compile error output under partest --show-log
silences t6323a

Tag materialization notices enabled with -Xlog-implicits are now echoes
not printlns. Therefore, they go into stderr, not stdout, getting logged
by partest and not spamming stdout of partest.
Merge pull request #2096 from ViniciusMiana/SI-6370

SI-6370 changed ListMap apply0 method to produce correct error message
Merge pull request #2097 from ViniciusMiana/SI-6935

SI-6935 Added readResolve in BoxedUnit
Merge pull request #2098 from retronym/ticket/6225

SI-6225 Fix import of inherited package object implicits
Merge pull request #2102 from retronym/topic/tree-checker-leniancy

Tolerate symbol sharing between accessor/field.
Merge pull request #2111 from retronym/2.10.x

SI-6514 Avoid spurious dead code warnings
SI-7091 Don't try to put a protected accessor in a package.

This shows up when a protected[pack] class has a constructor
with a default argument.

Regressed in f708b87 / SI-2296.
Merge pull request #2113 from scalamacros/topic/silence

silences t6323a
Fix typing idempotency bug with Annotated trees

typedAnnotated transforms an Annotated tree into a Typed tree. The
original field of the result is set to the Annotated tree.

The bug was that typedAnnotated was using the untyped Annotated tree
as original, but also set its type. When re-typing later on the same
Annotated tree, the typer would consider it as alreadyTyped. This
is incorrect, the typer needs to convert Annotated trees to Typed.

Also, the Annotated tree only had its type field set, but its children
were still untyped. This crashed the compiler lateron, non-typed trees
would get out of the typing phase.
Merge pull request #2115 from retronym/ticket/7091

SI-7091 Don't try to put a protected accessor in a package.