| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Aliases are evil and usually don't do what you want.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Add a warning and instructions for new users.
|
| | |
|
| |
| |
| |
| |
| | |
Using the same technique than scala-js where we just forward to
Build.scala: https://github.com/scala-js/scala-js/pull/2312
|
|/
|
|
|
|
| |
Also replace com.typesafe.sbt:sbt-interface by the equivalent
org.scala-sbt:interface since the former is not published in 0.13.14 for
some reason (https://github.com/sbt/sbt/issues/3012).
|
| |
|
|
|
|
|
| |
This wasn't done before because dotty could not compile dottydoc, this
is now fixed.
|
|\
| |
| | |
Fix warnings in sbt build
|
| | |
|
|/ |
|
|\
| |
| | |
Remove unused flags
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This PR will add a bot whose first purpose is to check the CLA of
contributing PRs. It improves on the old bot in that it checks each
commit individually, and doesn't get upset about 100+ commits.
It would be fun to do this PR with you @OlivierBlanvillain, feel free
to provide feedback/comments and refactor as you like
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The original implementation used the template engine to recursively
expand references. This was very error-prone and with no typesafety and
proper stack traces it was very hard to diagnose. As such, these two
expansions (links and references) have been re-implemented as filters.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This way you can run both the dotty-library-bootstrapped and
dotty-compiler-bootstrapped tests with one command:
sbt ;publishLocal;dotty-bootstrapped/test
|
|
|
|
|
|
|
| |
`partest` and `partest-only` are now run through
`dotty-compiler-bootstrapped`. The old bootstrapping mechanism is
deleted since it has been unmaintained and broken for several months and
that I do not wish to maintain two bootstrapping mechanisms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds two new project to the sbt build: dotty-library-bootstrapped
and dotty-compiler bootstrapped. These projects use the same source
files as dotty-library and dotty-compiler but are compiled using dotty
itself. The main usecase for this is that we can now run the JUnit
tests (which are _not_ just a subset of the tests run by partest, for
example the REPL tests are only run through JUnit) with
a bootstrapped compiler:
$ sbt
> publishLocal # Non-bootstrapped dotty needs to be published first
> dotty-compiler-bootstrapped/test
But this also allows one to experiment with a bootstrapped dotty much
more easily in general.
This revealed many issues in the compiler that are fixed in subsequent
commits in this PR.
|
|
|
|
|
| |
This is necessary to run the tests with the bootstrapped projects and is
just much better than hardcoding them anyway.
|
|
|
|
|
|
| |
The upgraded backend contains a single new PR:
https://github.com/DarkDimius/scala/pull/4 which fixes Java interop with
Dotty-emitted inner classes in objects.
|
|
|
|
|
| |
This is needed to make dotty-compiled projects work with sbt 0.13.13, the
other needed fix is https://github.com/sbt/sbt/pull/2897
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is useful for two reasons:
- All published Scala versions are of the form a.b.c and some tooling
expect that, like sbt CrossVersion API.
- Using 0.1.1 instead of 0.1.0 means that we match the version number of
dotty-sbt-bridge, this is simpler and means that in the future sbt
could automatically choose the correct version of dotty-sbt-bridge so
that the user does not need to specify scalaCompilerBridgeSource in
his build.sbt
Note: it's awful that we have hardcoded paths to jars and that I had to
change them, but I won't fix that now.
|
|
|
|
|
|
|
|
| |
To be useful, the dummy scala-library:
- needs to be published with crossPaths off (the "_2.11" path of the
artefact name), like the real scala-library
- should depend on dotty-library and not just scala-library, since this
is what is needed to compile dotty programs
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We still publish an empty dotty-compiler_2.11-javadoc.jar to make
sonatype happy.
|
| |
|
|
|
|
|
| |
Otherwise this would get picked up by eclipse plugin as a project named
`bin`
|