| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
was scala.BoxedUnit, should be scala.Unit.
|
|\
| |
| | |
Fix #1803: Infer type parameters of anonymous class parents from expected type
|
| |
| |
| |
| |
| |
| |
| | |
If a parent type of an anonymous class is an Ident or Select which refers
to a parameterized type, use the expected type to infer its type parameters.
Fixes #1803.
|
|\ \
| | |
| | | |
Fix #1797: Allow case class params with names _1, _2, ...
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was not possible before because it clashed with the automatically
generated name of the accessor. We now allow it, by simply taking the
parameter(accessor) itself as the case class accessor if it already has
that name. But you still cannot write
case class C(_2: Int, _1: String)
nor should you be able to do this.
|
|\ \ \
| |_|/
|/| | |
Fix #1755: Make sure references in outer args are accessible
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Needed a fixup action in ExplicitOuter to avoid references to
module's This from outside their scope.
The problem is fixed, but I wish I understood better the root cause.
|
|\ \ \
| | | |
| | | | |
Fix #1799: Make compilation of FunctionN traits possible.
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix #1810 LazyVals should use changeOwnerAfter.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix emission of annotations
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is necessary for correct incremental recompilation but is also used
by sbt to find tests to run (for junit they should be annotated @org.junit.Test).
I added an sbt scripted test to verify that JUnit now works, to run it:
$ sbt
> scripted discovery/test-discovery
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Previously we replaced them by ConcreteAnnotation so they became regular
annotations and could be emitted in some cases. They need to keep being BodyAnnotation.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`isRuntimeVisible` and `retentionPolicyOf` had two different ways to get
the retention policy of an annotation and they were both wrong.
Fix retentionPolicyOf` and use it in `isRuntimeVisible`
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix #1806: Define outer accessors at the right phase
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Some outer accessors were defined at phase explicitOuter,
but were entered into the scope of their enclosing class only
at phase explicitOuter + 1. This turned them to stale symbols
when trying to access them at a later run, because at their
initially valid phase they were not found as members of
their owner.
|
| | | | | | |
|
|\| | | | |
| |_|_|_|/
|/| | | | |
Fix #1790: Change by-name pattern matching.
|
| | | | |
| | | | |
| | | | |
| | | | | |
This implements the rules laid down in #1805.
|
| | | | |
| | | | |
| | | | |
| | | | | |
New implementation following the scheme outlined in #1790.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix #1784: allow to omit types for local implicit vals
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
559e49317912ce52c51e295346cebcafbb69462d)
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Needed an // error annotation
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Since we now allow to drop the explicit type of a local implicit val
it can happen that this causes a cyclic reference, namely when the
typechecking of the right-hand side involves an implicit search.
It's unpractical and fragile to avoid this. Instead we give now
a nice error message explaining the problem and how to fix it in
source code.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Drop explicit types for local implicit vals of type Context
and Position. Exercises the functionality and shortens the code.
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix checks related to value classes
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
fix #1779: support $_ and $_id in interpolated string
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
Add tests
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Add tests that work to pos/neg, tests that don't work yet to pending/pos/neg.
- Also, change .gitignore to allow for a local directory.
- Also add a draft page to the docs.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[REPL] Add show capability to common types
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|