| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Fix #1707: Survive non-existing positions in parser
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Some trees, which do not consume input have unassigned positions (so that
they can fit in whatever range they are integrated). It's therefore risky
to take the start or end of a parsed tree's position. This commit guards
against the case where the position of the tree does not exist.
|
|\ \
| |/
|/| |
Fix colons in printer
|
| |
| |
| |
| |
| | |
This is done so that we can use show for the entire method except for
the ascribed type added by the compiler on success.
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Fix #1737: Enable GADT checking for objects
|
|/
|
|
|
| |
So far, only typed patterns an dunapply had GADT matching.
i1737.scala shows that we need to do the same thing for objects.
|
|\
| |
| | |
Environmentally friendly tests
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fengyun's original solution was the right one. We cannot NOT
enter a package class into its parent scope, because reloading
the denotation with .member will fail. So we need to enter it and
compensate by adding a clause to `qualifies` in `typedIdent`.
Weirdly, this was noted only when running tasty_bootstrap from
a custom classpath in the new build setup. So it was pretty
tricky to diagnose.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
-verbose output was suppressed like all other non-error
output in the tests. Now we don't filter output if -verbose is set.
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
sbt adds the correct jars to classpath and the tests depend on
`packageAll` which creates these. When using something else however,
these together with `sbt-interfaces` do not get propagated from the
build.
To remedy this and make the testing a bit more flexible, we now
take these from `sys.props` instead, see `tests/dotty/Jars.scala`.
If the props aren't defined we fall back to the ones default to sbt.
|
|\
| |
| | |
Change docker image to use lampepfl one
|
| | |
|
|/ |
|
|\
| |
| | |
[WIP] add drone
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Disable scaladoc generation for dotty-compiler
|
|/
|
|
|
| |
We still publish an empty dotty-compiler_2.11-javadoc.jar to make
sonatype happy.
|
|\
| |
| | |
Restructuring repo and issues
|
| |
| |
| |
| |
| |
| | |
Special-casing like this is ugly, we should decide whether we want to
avoid simplifications on all TypTrees and whether we want to do this
just in unpickler or always. But I want to merge this PR first.
|
| |
| |
| |
| |
| | |
Otherwise, they may end up with a qualifier, this manifested itself as a
pickling difference in `tasty_tools`.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Depending on order, scripts might choose the wrong jar (i.e. test
instead of non test). This commit addresses that by sedding away
results which have `javadoc` or `tests` in the jar name
|
| |
| |
| |
| |
| | |
Otherwise this would get picked up by eclipse plugin as a project named
`bin`
|
| | |
|
| | |
|
| |
| |
| |
| | |
These commands already work without defining aliases
|
| | |
|
| |
| |
| |
| |
| |
| | |
Some tests are run with "-Ytest-pickler" which uses a huge amount of
memory. By running these tests one by one when no other test is running,
we avoid running out of memory.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fix the test "Extracted source dependencies from public members"
which previously failed with:
Set('G, 'E) is not equal to Set('B, 'E) (DependencySpecification.scala:34)
`H` extends `G.T[Int]` which is an alias of `B`, so the
`topLevelInheritanceDepndencies` of `H` should contain `B`, this was not
the case before because we didn't dealias before looking for the
top-level class of the dependency, so we ended up with `G`, the
top-level class in which the alias `T` is contained.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This lead to stale symbol errors in `tasty_tools` because the symbol
forcing was bringing forward symbols from the previous run before the
corresponding symbols for the current run were created.
We fix this by adding Annotations#deferredSymAndTree which behaves
similarly to Annotations#deferred but take a by-name symbol.
We also remove TreeUnpickler#LazyAnnotationReader which was apparently
never used.
|
| |
| |
| |
| |
| |
| |
| | |
We run checkNoPrivateLeaks in the unpickler since last commit and this
is causing an issue related to privacy leaks. Give up and workaround
it since we're going to redesign how we handle privacy leaks because
of https://github.com/lampepfl/dotty/issues/1723 anyway.
|