aboutsummaryrefslogtreecommitdiff
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2270 from dotty-staging/topic/enum-repl-parserFelix Mulder2017-04-192-2/+2
|\ | | | | Make sure basic enums work with REPL
| * Fix infinite loop in parser when parsing enumsFelix Mulder2017-04-171-1/+1
| |
| * Make sure `enum` is correctly highlightedFelix Mulder2017-04-171-1/+1
| |
* | Alternative fixMartin Odersky2017-04-181-2/+6
| | | | | | | | | | Special case HKApply only. This is simpler and potentially more efficient.
* | Dealias before type erasingMartin Odersky2017-04-181-2/+2
| | | | | | | | | | | | ... and likewise for taking a signature. The previous case worked in all cases except when faced with an alias like `type Id[T] = T`. In that case, it would disregard the argument and erase to Object.
* | Render line and col in error message for clickabilityFelix Mulder2017-04-161-1/+1
|/
* Recurse into refined type when exposing membersAleksander Boruch-Gruszecki2017-04-131-1/+6
|
* Merge pull request #2260 from dotty-staging/backend-submoduleGuillaume Martres2017-04-137-32/+71
|\ | | | | Fix #2184: Hyper Bootstrap! Integrate the backend as a git submodule
| * Fix #2184: Hyper Bootstrap! Integrate the backend as a git submoduleGuillaume Martres2017-04-137-32/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The backend lives in the scalac fork at https://github.com/lampepfl/scala/tree/sharing-backend. Before this commit, the scala-compiler built from this fork was a dependency of Scala just to get this backend. This made it much more cumbersome to test changes to the backend and also forced us to depend on Scala 2.11.5 since that is the version of scalac that the forked backend is based on. This commit changes this by adding a git submodule in the `scala-backend` directory that points to the scalac fork. We do not compile the whole submodule, instead we add the subset of files we need to the dotty-compiler project in the sbt build. See backend.md for more information (online at http://dotty.epfl.ch/docs/contributing/backend.html) once this commit is merged. The most important thing to note is that whenever you clone dotty you should do `git clone --recursive` to also clone the submodule. If you already have a cloned dotty you'll need to do: git submodule update --init You will need to repeat this command anytime you update dotty and the backend has been updated, otherwise the content of `scala-backend` will be stale.
* | Merge pull request #2251 from dotty-staging/fix-#2220Felix Mulder2017-04-131-1/+1
|\ \ | | | | | | Fix #2220: disable benchmarks, set run timeout to 30 seconds
| * | Fix #2220: disable benchmarks, set run timeout to 30 secondsFelix Mulder2017-04-131-1/+1
| |/
* | Merge pull request #2259 from dotty-staging/fix-#2245Guillaume Martres2017-04-132-14/+6
|\ \ | |/ |/| Fix #2245: strip colors from strings before writing to file
| * Fix #2245: strip colors from strings before writing to fileFelix Mulder2017-04-132-14/+6
| |
* | Merge branch 'master' into fix-2253liu fengyun2017-04-1313-43/+84
|\ \
| * \ Merge pull request #2256 from dotty-staging/fix-2254liu fengyun2017-04-131-2/+2
| |\ \ | | | | | | | | fix #2254: dealias types in decomposition of spaces
| * \ \ Merge pull request #2252 from dotty-staging/fix/npe-in-cleanup-hookNicolas Stucki2017-04-131-2/+3
| |\ \ \ | | | | | | | | | | Fix NPE when adding cleanup hook
| | * | | Fix NPE when adding cleanup hookFelix Mulder2017-04-131-2/+3
| | | |/ | | |/|
| * | | Merge pull request #2231 from dotty-staging/fix-#2230Guillaume Martres2017-04-131-0/+1
| |\ \ \ | | | | | | | | | | Fix #2230: Add regression test.
| | * | | Fix #2230: Add regression test.Nicolas Stucki2017-04-121-0/+1
| | | | |
| * | | | Merge pull request #2209 from dotty-staging/fix-#2152odersky2017-04-134-11/+17
| |\ \ \ \ | | |_|/ / | |/| | | Fix #2152: Instantiate dependent result type parameters
| | * | | Alternative fixMartin Odersky2017-04-111-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original fix made run/hmap-covariant fail because a type variable representing a dependent result parameter was instantiated. Trying something else now.
| | * | | Fix #2152: Instantiate dependent result type parametersMartin Odersky2017-04-114-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #2152 shows that dependent result type parameters can end up in the types of terms, so we have to eliminate them. If we don't we get orphan parameters in pickling. Fix method name and comment
| * | | | Merge pull request #2249 from dotty-staging/revert-productodersky2017-04-134-8/+7
| |\ \ \ \ | | | | | | | | | | | | Revert <: Product requierment in pattern matching
| | * | | | Revert <: Product requierment in pattern matchingOlivier Blanvillain2017-04-134-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in question broke the following pattern, commonly used in name based pattern matching: ```scala object ProdEmpty { def _1: Int = ??? def _2: String = ??? def isEmpty = true def get = this } ``` This type define both `_1` and `get` + `isEmpty` (but is not <: Product). After #1938, `ProdEmpty` became eligibles for both product and name based pattern. Because "in case of ambiguities, *Product Pattern* is preferred over *Name Based Pattern*", isEmpty wouldn't be used, breaking the scalac semantics.
| * | | | | Fix #2241: print failing test title instead of outdirFelix Mulder2017-04-131-1/+1
| | | | | |
| * | | | | Fix #2244: make sure logging goes through appropriate interfaceFelix Mulder2017-04-132-5/+18
| | | | | |
| * | | | | Fix #2242: let user know which file got logged toFelix Mulder2017-04-132-10/+29
| | | | | |
| * | | | | Fix #2243: improve failing test outputFelix Mulder2017-04-133-6/+8
| |/ / / /
| * | | | TestReporter: Avoid a global lazy valGuillaume Martres2017-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | When compiling with dotty, this leads to NullPointerException because the lazy val is not @volatile. Better to just make it a val.
* | | | | fix #2253: avoid exception with refinement typesliu fengyun2017-04-131-0/+1
| |_|_|/ |/| | |
* | | | fix #2254: dealias types in decomposition of spacesliu fengyun2017-04-131-2/+2
|/ / /
* | | Add docs to SummaryReport.scalaFelix Mulder2017-04-121-0/+25
| | |
* | | Remove duplication with run test output verificationFelix Mulder2017-04-121-19/+7
| | |
* | | Make vulpix test filter work on substring instead of regexpFelix Mulder2017-04-122-16/+17
| | |
* | | Remove need for java written summary reporterFelix Mulder2017-04-1210-205/+222
| | |
* | | Make sure that everything is dumped to log filesFelix Mulder2017-04-123-57/+120
| | |
* | | Add ability to only compile run testsFelix Mulder2017-04-124-16/+49
| | |
* | | Implement meta tests suggested by @DarkDimiusFelix Mulder2017-04-121-0/+15
| | | | | | | | | | | | | | | | | | Note that merging this as-is will not protect us against fork bombs. This is because the timeout of tests is currently 180 seconds. A forkbomb that is allowed to run for that long...
* | | Fix interactive mode in eclipseFelix Mulder2017-04-121-1/+3
| | |
* | | Add `Properties` object for dotty testing props and envFelix Mulder2017-04-124-14/+64
| | |
* | | Only complete tests after run has been performedFelix Mulder2017-04-121-24/+28
| | |
* | | Add vulpix docstrings and change definesFelix Mulder2017-04-123-4/+14
| | |
* | | Improve test failure outputFelix Mulder2017-04-121-1/+5
| | |
* | | Make inter JVM communication be string basedFelix Mulder2017-04-127-168/+133
| | |
* | | Move vulpix to `dotty.tools.vulpix`Felix Mulder2017-04-127-16/+13
| | |
* | | Rename filter shorthand to vulpix and update `drone.yml`Felix Mulder2017-04-121-4/+1
| | |
* | | Remove partest, keeping `dotc.tests` for nowFelix Mulder2017-04-126-697/+41
| | |
* | | Add `RunnerOrchestration` to `ParallelTesting` traitFelix Mulder2017-04-124-88/+149
| | |
* | | Complete subprocess communication protocolFelix Mulder2017-04-123-22/+64
| | |
* | | Fix settings having uninitialized valuesFelix Mulder2017-04-124-8/+20
| | |