| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This avoids a dependency on the scala-reflect jar
|
| |
|
|\
| |
| | |
Fix incremental overcompilation due to instabilities
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The output of ExtractAPI should be stable, otherwise sbt might
incorrectly conclude that some API changed because its hash is
different, even though the source hasn't changed. This commit fixes two
cases where this might happen:
- package prefixes in NamedTypes are unstable, we already worked around this by
normalizing them, but only for classes, we now always do it.
- We use a simplified representation for `_ >: Nothing <: Any`, this is
now checked using `isDirectRef` instead of referential equality on types
since there is more than one way to represent `Nothing` and `Any`.
Both of these issues were found while compiling dotty with
`dotty-compiler-bootstrapped/compile` and making small changes.
|
|\ \
| |/
|/| |
Fix #2056: Backend crash when inlined method contains try
|
| |
| |
| |
| |
| |
| | |
In various places we do "case EmptyTree =>", since Tree#equals uses
reference equality this means that EmptyTree should never be copied,
otherwise some other code path will be taken.
|
|\ \
| | |
| | | |
fixed PatternSyntaxException on Windows
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Drop named type parameters in classes
|
| | |
| | |
| | |
| | |
| | |
| | | |
Deleting an error message changes all subsequent error message umbers,
which means that REPL tests were invalidated. This is a bit unfortunate
from a testing standpoint.
|
| | |
| | |
| | |
| | |
| | | |
(1) Drop unused error message
(2) Drop test which is now illegal
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Drop the [type T] syntax, and what's associated to make it work.
Motivation: It's an alternative way of doing things for which there seems
to be little need. The implementation was provisional and bitrotted during
the various iterations to introduce higher-kinded types. So in the end the
complxity-cost for language and compiler was not worth the added benefit
that [type T] parameters provide.
Noe that we still accept _named arguments_ [A = T] in expressions; these are useful
for specifying some parameters and letting others be inferred.
|
|\ \
| | |
| | | |
Add assert that refine infos are legal wrt refined names
|
| | |
| | |
| | |
| | |
| | |
| | | |
It did not work in the CI because the compiler was not found on the run classpath.
In any case, the added assert helped get the callgraph to compile, so it's validated
and we should get the assert in without needing the extra test.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix #2030: Don't chain implicit conversions
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
When inferring a view, we are not allowed to use another
implicit conversion to adapt its result. Fixing this revealed
another problem where we have to re-enable implicit conversions
when pre-typing arguments in overloading resolution.
|
|\ \ \
| |_|/
|/| | |
Allow abstract type members in objects.
|
|/ / |
|
|\ \
| | |
| | | |
Last changes before presentation at Matsuri
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Change 'private, protected, or this expected' to Message
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix #2033: Improve handling of unresolved overloaded arguments
|
| | |_|/
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
HMap test case
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | | |
dotty-staging/remove-duplicate-code-for-wrapArrayMethodName
Remove wrapArrayMethodName from defn.
|
|/ / / /
| | | |
| | | |
| | | | |
Note that it is never used and the same method exists in transform.TreeGen
|
|\ \ \ \
| | | | |
| | | | | |
Fix import which produces flakey test results on Eclipse
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Previous import gave test errors under eclipse. Probably
due to some stray directory on the classpath.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Treat implicit by-name arguments as lazy values
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
With the previous rules, the two test cases produce a
diverging implicit expansion. We avoid this by creating
for every implicit by-name argument of type T a lazy implicit
value of the same type. The implicit value is visible for all
nested implicit searches of by-name arguments. That way,
we tie the knot and obtain a recursive lazy value instead of
a diverging expansion.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Make resolveSuper less slow
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
By ordering tests in a smarter way.
Add leave a big scary comment.
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
Better error messages for missing type of recursive definitions
|