aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to compile single filesFelix Mulder2017-03-291-1/+16
|
* Add support for error annotations in neg testsFelix Mulder2017-03-292-42/+188
|
* Add neg testing capability to ParallelTestingFelix Mulder2017-03-293-4/+47
|
* Parallelize compilation runs for ParallelTesting infraFelix Mulder2017-03-291-27/+92
|
* Prefix out directory with name of testFelix Mulder2017-03-291-1/+6
|
* Fix i851.java not being valid javaFelix Mulder2017-03-291-1/+1
|
* Add java compilation to `ParallelTesting`Felix Mulder2017-03-291-0/+23
|
* Add interface for unit tests into `ParallelTesting`Felix Mulder2017-03-291-0/+60
|
* Add initial compilation functionality to ParallelTesting traitFelix Mulder2017-03-291-0/+41
|
* Merge pull request #2139 from dotty-staging/fix/false-companionGuillaume Martres2017-03-286-3/+39
|\ | | | | Fix #2137: Create dummy companions for top-level objects without a real one
| * Namer#createCompanionLinks: avoid using denotNamedGuillaume Martres2017-03-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | The previous commit introduced two new usages of `denotNamed` which broke tests/run/t1987b because `denotNamed` indirectly calls `packageObj` which caches the package object, except that at this point the package object is not yet entered, so the cache was incorrect. We fix this by using `effectiveScope.lookup` instead since we only need to look into the current scope, this is also true for the two existing usage of `denotNamed` in `createCompanionLinks` so they were also replaced by `effectiveScope.lookup`.
| * Fix #2137: Create dummy companions for top-level objects without a real oneGuillaume Martres2017-03-235-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we sometimes ended up forcing a companion class symbol from a previous run or from the classpath which lead to weird issues like in `false-companion`. Even if we end up not forcing such a symbol, its presence can still lead to issue: before this commit incremental compilation of `dotty-compiler-bootstrapped` was broken because we recorded a false dependency on the non-bootstrapped `dotty-compiler` jar. The added test is currently marked pending because it does not work with JUnit (which doesn't handle separate compilation), only partest. I didn't managed to get it to work right, and this won't be necessary once our testing framework is overhauled by https://github.com/lampepfl/dotty/pull/2125 anyway, so I'll just have to remember to enable this test afterwards.
| * Revert "sbt.ExtractDependencies: avoid false dependencies"Guillaume Martres2017-03-231-1/+1
| | | | | | | | | | | | | | | | | | This reverts commit 57641b9c7447fa0a6f1f47352dffb4c56c560b6a. Using `Type#select` instead of `Type#member` turned out to not help at all in avoiding false dependencies, you can still get a symbol whose denotation does not reallyExists. A proper fix for this issue is contained in the next commit.
* | Merge pull request #2144 from dotty-staging/remove/sbt-bridge-depDmitry Petrashko2017-03-281-4/+0
|\ \ | | | | | | sbt-bridge: Remove unused imports from scala-compiler
| * | sbt-bridge: Remove unused imports from scala-compilerGuillaume Martres2017-03-281-4/+0
| | |
* | | Merge pull request #2127 from dotty-staging/fix/variable-pattern-accessGuillaume Martres2017-03-283-2/+26
|\ \ \ | | | | | | | | Fix desugaring of variable pattern leaking into API
| * | | Fix desugaring of variable pattern leaking into APIGuillaume Martres2017-03-213-2/+26
| | | | | | | | | | | | | | | | | | | | This was especially bad for incremental compilation since the temporary variable name is unstable.
* | | | Merge pull request #2138 from dotty-staging/add-warning-on-missin-scala-scalaDmitry Petrashko2017-03-281-0/+13
|\ \ \ \ | |_|/ / |/| | | Add a warning and instructions for new users.
| * | | Add a warning and instructions for new users.Nicolas Stucki2017-03-231-0/+13
| | | |
* | | | Merge pull request #2101 from dotty-staging/upgrade/sbt0.13.14Guillaume Martres2017-03-248-54/+201
|\ \ \ \ | |/ / / |/| | | Upgrade to sbt 0.13.14-RC2, switch to build.sbt
| * | | Switch to build.sbtGuillaume Martres2017-03-242-23/+41
| | | | | | | | | | | | | | | | | | | | Using the same technique than scala-js where we just forward to Build.scala: https://github.com/scala-js/scala-js/pull/2312
| * | | sbt-bridge: Synchronize unit tests with sbt 0.13.14Guillaume Martres2017-03-244-20/+148
| | | | | | | | | | | | | | | | | | | | Also fix a bug where the compiler output for the tests ended up in the wrong directory, causing some new tests from 0.13.14 to fail.
| * | | Upgrade sbt plugins, remove unused scalastyle pluginGuillaume Martres2017-03-241-5/+3
| | | |
| * | | Upgrade to sbt 0.13.14-RC2Guillaume Martres2017-03-242-6/+9
|/ / / | | | | | | | | | | | | | | | 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).
* | | Fix varargs in methods and constructors (#2135)Igor Mielientiev2017-03-2210-1/+57
| | | | | | | | | | | | | | | | | | | | | * Fix varargs in methods (Issue: #1625) * Fix minor comments * Change varargs parameter message * Fix failed test, fix case for constructor
* | | Merge pull request #2134 from dotty-staging/fix/incremental-compilation-restartFelix Mulder2017-03-221-4/+64
|\ \ \ | |_|/ |/| | Fix incremental compilation not working after restarting sbt
| * | Fix incremental compilation not working after restarting sbtGuillaume Martres2017-03-211-4/+64
|/ / | | | | | | | | | | | | | | | | Previously, every time sbt was restarted, `compile` would do a full recompilation. This happened because sbt uses Java serialization to persist the incremental compilation analysis, deserialization was always silently failing because we used to serialize a class from the dotty-compiler jar which is not on the classpath at deserialization time. See the added comments for more details.
* | Merge pull request #2133 from dotty-staging/fix/refinedtype-incrementalFelix Mulder2017-03-211-6/+42
|\ \ | | | | | | incremental compilation: Fix unstable name hashing for refined members
| * | incremental compilation: Fix unstable name hashing for refined membersGuillaume Martres2017-03-211-6/+42
|/ /
* | Merge pull request #2129 from dotty-staging/topic/dottydoc-subprojectDmitry Petrashko2017-03-212-56/+60
|\ \ | | | | | | Fix IntellliJ support by making dotty-doc its own subproject
| * | Fix IntellliJ support by making dotty-doc its own subprojectFelix Mulder2017-03-212-56/+60
|/ /
* | Merge pull request #2124 from dotty-staging/fix-param-fwdGuillaume Martres2017-03-2010-13/+101
|\ \ | |/ |/| Fix parameter accessor forwarding
| * Update check fileMartin Odersky2017-03-202-4/+4
| |
| * Only use shadowed when necessaryMartin Odersky2017-03-201-7/+8
| |
| * Add test casesMartin Odersky2017-03-206-3/+80
| |
| * Use shadowing to reference inherited accessors.Martin Odersky2017-03-201-3/+9
| | | | | | | | | | | | Normal references won't work since the referenced accessor has the same name as a private name in the class defining the forwarder. This showed up as pickling failures under separate compilation.
| * Handle shadowed for TermRefWithSigMartin Odersky2017-03-201-4/+8
|/ | | | Making a name shadowed lost the signature before.
* doc-tool/test: Workaround #2112Guillaume Martres2017-03-201-1/+2
|
* Super Bootstrap: Make dottydoc part of the bootstrapGuillaume Martres2017-03-201-11/+10
| | | | | This wasn't done before because dotty could not compile dottydoc, this is now fixed.
* Fix #2084.Dmitry Petrashko2017-03-201-5/+12
|
* Merge pull request #2122 from dotty-staging/fix-i2086Guillaume Martres2017-03-202-0/+9
|\ | | | | Fixed #2086: Add tests for issue that has already been fixed.
| * Fixed #2086: Add tests for issue that has already been fixed.Nicolas Stucki2017-03-202-0/+9
| |
* | Merge pull request #2123 from dotty-staging/fix-i1573Guillaume Martres2017-03-203-0/+15
|\ \ | | | | | | Fixed #1573: Add tests for fixed issue.
| * | Fixed #1573: Add tests for fixed issue.Nicolas Stucki2017-03-203-0/+15
| | |
* | | Merge pull request #2114 from dotty-staging/fix/inline-error-posGuillaume Martres2017-03-201-3/+4
|\ \ \ | |_|/ |/| | Fix position of errors in Inliner TreeTypeMap
| * | Fix position of errors in Inliner TreeTypeMapGuillaume Martres2017-03-161-3/+4
| | |
* | | Merge pull request #2118 from abeln/super-bugDmitry Petrashko2017-03-202-19/+24
|\ \ \ | |_|/ |/| | Fix #2117: bug in typechecking super prefix with invalid enclosing class
| * | Fix bug in typechecking super prefix with invalid enclosing classAbel Nieto2017-03-172-19/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When typechecking class A { C.super.foo() } If C isn't an enclosing class, the compiler was throwing because of an unguarded pattern match. Fix the issue by checking for ErrorType. Tested: Verified that the example above no longer throws. Added a test.
* | | Fix procedure syntax in JavaConvertersValthor Halldorsson2017-03-191-6/+6
| | |
* | | Fix exception caused by attempting to serialize NonEntity valuesValthor Halldorsson2017-03-191-21/+28
| | | | | | | | | | | | - Added explicit checking for NonEntity when serializing DefaultParams