aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1719 from dotty-staging/fix-#1705odersky2016-11-242-33/+67
|\ | | | | Fix #1707: Survive non-existing positions in parser
| * Renamed test file to give correct issue numberMartin Odersky2016-11-241-0/+0
| |
| * Rename ...Pos to ...Offset and add pointOffsetMartin Odersky2016-11-241-36/+37
| |
| * More robust scheme for taking start/end of positions when parsingMartin Odersky2016-11-242-31/+64
| | | | | | | | | | | | | | 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.
* | Merge pull request #1742 from dotty-staging/topic/colon-in-printerFelix Mulder2016-11-248-22/+60
|\ \ | |/ |/| Fix colons in printer
| * Make `findTypes` take the `resultType` of `MethodType`Felix Mulder2016-11-242-12/+13
| | | | | | | | | | 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 defs not being printed correctlyFelix Mulder2016-11-242-3/+31
| |
| * Update tests fixing contributor PRFelix Mulder2016-11-246-17/+17
| |
| * Add colon after method type, prefix def/val/var in REPLReto Hablützel2016-11-242-3/+12
| |
* | Merge pull request #1740 from dotty-staging/fix-#1737Guillaume Martres2016-11-242-1/+14
|\ \ | |/ |/| Fix #1737: Enable GADT checking for objects
| * Enable GADT matching for pattern valuesMartin Odersky2016-11-242-1/+14
|/ | | | | So far, only typed patterns an dunapply had GADT matching. i1737.scala shows that we need to do the same thing for objects.
* Merge pull request #1739 from dotty-staging/topic/environmentally-friendly-testsFelix Mulder2016-11-2412-64/+101
|\ | | | | Environmentally friendly tests
| * More info when unpickling failsMartin Odersky2016-11-242-8/+4
| |
| * Revert fix to #1701.Martin Odersky2016-11-242-6/+11
| | | | | | | | | | | | | | | | | | | | | | 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.
| * Compile dotty library when bootstrappingMartin Odersky2016-11-241-2/+2
| |
| * make REPL tests look at DOTTY_EXTRA classpath entriesMartin Odersky2016-11-242-2/+4
| |
| * Honor -verbose in testsMartin Odersky2016-11-231-1/+2
| | | | | | | | | | -verbose output was suppressed like all other non-error output in the tests. Now we don't filter output if -verbose is set.
| * Get rid off custom classpath in entry point testsFelix Mulder2016-11-232-17/+2
| |
| * Make sure limitedThreads <= partest.threadsFelix Mulder2016-11-231-7/+10
| |
| * Update sequential tasks portionFelix Mulder2016-11-231-12/+21
| |
| * Make tests depend on environment variables for classpath jarsFelix Mulder2016-11-237-25/+61
|/ | | | | | | | | | | | 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.
* Merge pull request #1736 from felixmulder/topic/docker-to-lampepflFelix Mulder2016-11-231-1/+1
|\ | | | | Change docker image to use lampepfl one
| * Change docker image to use lampepfl oneFelix Mulder2016-11-231-1/+1
| |
* | Add build status badgeFelix Mulder2016-11-231-0/+1
|/
* Merge pull request #1734 from felixmulder/topic/add-droneFelix Mulder2016-11-2386-96/+126
|\ | | | | [WIP] add drone
| * make drone use img with openjdk8 and javadocFelix Mulder2016-11-221-2/+2
| |
| * Fix scripted tests when the dotty artifact is not in cacheGuillaume Martres2016-11-221-4/+11
| |
| * Propagate memory setting to testsFelix Mulder2016-11-222-5/+10
| |
| * dotty-bridge is now called dotty-sbt-bridgeGuillaume Martres2016-11-2283-86/+86
| |
| * Redefine scripted testFelix Mulder2016-11-221-2/+8
| |
| * increase threads to 2 in reduced threads casesFelix Mulder2016-11-222-3/+4
| |
| * Add drone integrationFelix Mulder2016-11-223-2/+13
|/
* Merge pull request #1733 from dotty-staging/disable/scaladocFelix Mulder2016-11-221-0/+5
|\ | | | | Disable scaladoc generation for dotty-compiler
| * Disable scaladoc generation for dotty-compilerGuillaume Martres2016-11-221-0/+5
|/ | | | | We still publish an empty dotty-compiler_2.11-javadoc.jar to make sonatype happy.
* Merge pull request #1636 from dotty-staging/topic/restructure-attempt2Guillaume Martres2016-11-221158-1159/+1261
|\ | | | | Restructuring repo and issues
| * TreeUnpickler: Workaround cyclic reference involving self-typeGuillaume Martres2016-11-221-2/+6
| | | | | | | | | | | | 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.
| * Properly unpickle This trees without qualifierGuillaume Martres2016-11-221-1/+1
| | | | | | | | | | Otherwise, they may end up with a qualifier, this manifested itself as a pickling difference in `tasty_tools`.
| * Disable script tests, should be done by nightlyFelix Mulder2016-11-221-2/+1
| |
| * Fix script choosing wrong artefactFelix Mulder2016-11-221-1/+1
| | | | | | | | | | | | 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
| * Rename sbt bin project to `dotty-bin-tests`Felix Mulder2016-11-221-3/+8
| | | | | | | | | | Otherwise this would get picked up by eclipse plugin as a project named `bin`
| * Move benchmarks test to right locationFelix Mulder2016-11-221-1/+0
| |
| * Make every project use the new directory structureGuillaume Martres2016-11-22517-5/+11
| |
| * Remove unnecessary aliasesGuillaume Martres2016-11-221-4/+0
| | | | | | | | These commands already work without defining aliases
| * Replace dotc task by run, make dotc an alias of runGuillaume Martres2016-11-221-1/+3
| |
| * Run some tests sequentially to avoid exhausting available memoryGuillaume Martres2016-11-221-0/+39
| | | | | | | | | | | | 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.
| * Fix remaining tests with incorrect paths following moveGuillaume Martres2016-11-224-254/+253
| |
| * Move PatmatExhaustivityTest.scala in its proper placeGuillaume Martres2016-11-221-0/+0
| |
| * ExtractDependencies: correctly record inheritance on type aliasGuillaume Martres2016-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Do not force symbols of annotations when unpicklingGuillaume Martres2016-11-222-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Workaround last issue with -Ytest-picklerGuillaume Martres2016-11-221-1/+1
| | | | | | | | | | | | | | 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.