aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2280 from dotty-staging/fix-tests-logs-overwrittenHEADmasterFelix Mulder2017-04-201-4/+6
|\ | | | | Add seconds to log timestamps to avoid log name clashes.
| * Add seconds to log timestamps to avoid log name clashes.Nicolas Stucki2017-04-201-4/+6
| |
* | Merge pull request #2273 from dotty-staging/fix-stdlib-benchFelix Mulder2017-04-201-1/+1
|\ \ | | | | | | Add missing -Yno-inline to stdlib compilation flags.
| * | Add missing -Yno-inline to stdlib compilation flags.Nicolas Stucki2017-04-191-1/+1
| | |
* | | Merge pull request #2277 from dotty-staging/add-more-parallelism-to-testsFelix Mulder2017-04-201-46/+21
|\ \ \ | |_|/ |/| | Join tests to increase parallelism.
| * | Join tests to increase CI parallelism.Nicolas Stucki2017-04-201-46/+21
|/ / | | | | | | Also reorded a couple of tests to have the long tests first.
* | Merge pull request #2267 from dotty-staging/fix-constant-lazy-valsDmitry Petrashko2017-04-1914-7/+123
|\ \ | | | | | | Fix #2266: Do not replace constant type lazy vals with constant.
| * | Pruning branch of constant type condition.Nicolas Stucki2017-04-173-5/+25
| | | | | | | | | | | | As done in inliner.
| * | Only allow constant type vals to be inlined.Nicolas Stucki2017-04-173-2/+26
| | |
| * | Fix constant type val value inline in constructors.Nicolas Stucki2017-04-167-2/+62
| | |
| * | Fix #2266: Do not replace constant type lazy vals with constant.Nicolas Stucki2017-04-153-1/+13
| | |
* | | Merge pull request #2262 from dotty-staging/fix/sbt-warm-compileDmitry Petrashko2017-04-191-1/+15
|\ \ \ | |_|/ |/| | Make warm compilation speed with sbt 2x faster
| * | Make CompilerClassLoader#fixBridgeLoader synchronizedGuillaume Martres2017-04-151-1/+2
| | | | | | | | | | | | | | | This method could be called from multiple threads since sbt could run multiple `compile` task in parallel.
| * | Make warm compilation speed with sbt 2x fasterGuillaume Martres2017-04-141-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, every call to `compile` in sbt with dotty took about the same time because we created a new ClassLoader everytime and thus thrased the JIT code cache, by reusing ClassLoaders we can make `compile` about 2x faster. You can reproduce this by running: > dotty-compiler-bootstrapped/compile This takes ~50 seconds on my machine. Then clean using: > ;dotty-compiler-bootstrapped/clean;dotty-compiler-update And run `dotty-compiler-bootstrapped/compile` again, this takes ~25 seconds for me. I get very similar timings from scalac (replacing `dotty-compiler-bootstrapped` by `dotty-compiler`).
* | | 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
| | |/ | |/|
* | | Merge pull request #2236 from dotty-staging/fix-#2234Felix Mulder2017-04-182-0/+17
|\ \ \ | | | | | | | | Fix #2234: Dealias before type erasing
| * | | Add testMartin Odersky2017-04-181-0/+13
| | | |
| * | | 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.
* | | Merge pull request #2268 from dotty-staging/topic/add-line-colFelix Mulder2017-04-164-17/+17
|\ \ \ | |/ / |/| | Render line and col in error message for clickability
| * | Render line and col in error message for clickabilityFelix Mulder2017-04-164-17/+17
|/ /
* | Merge pull request #2261 from AleksanderBG/fix-2253liu fengyun2017-04-143-4/+35
|\ \ | |/ |/| Fix #2253 edge cases: recurse into refined type
| * Recurse into refined type when exposing membersAleksander Boruch-Gruszecki2017-04-133-4/+35
|/
* Merge pull request #2260 from dotty-staging/backend-submoduleGuillaume Martres2017-04-1316-68/+177
|\ | | | | Fix #2184: Hyper Bootstrap! Integrate the backend as a git submodule
| * Fix #2184: Hyper Bootstrap! Integrate the backend as a git submoduleGuillaume Martres2017-04-1316-68/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1311-36/+1
|\ \ | | | | | | Fix #2220: disable benchmarks, set run timeout to 30 seconds
| * | Fix #2220: disable benchmarks, set run timeout to 30 secondsFelix Mulder2017-04-1311-36/+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 pull request #2257 from dotty-staging/fix-2253liu fengyun2017-04-132-0/+8
|\ \ | | | | | | Fix #2253: avoid match exception in case of refinement types
| * \ Merge branch 'master' into fix-2253liu fengyun2017-04-1321-63/+167
| |\ \ | |/ / |/| |
* | | Merge pull request #2256 from dotty-staging/fix-2254liu fengyun2017-04-132-2/+8
|\ \ \ | | | | | | | | 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-132-0/+23
|\ \ \ \ | | | | | | | | | | Fix #2230: Add regression test.
| * | | | Fix #2230: Add regression test.Nicolas Stucki2017-04-122-0/+23
| | | | |
* | | | | Merge pull request #2209 from dotty-staging/fix-#2152odersky2017-04-135-11/+24
|\ \ \ \ \ | |_|/ / / |/| | | | 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-115-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #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-135-8/+44
|\ \ \ \ \ | | | | | | | | | | | | Revert <: Product requierment in pattern matching
| * | | | | Revert <: Product requierment in pattern matchingOlivier Blanvillain2017-04-135-8/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge pull request #2248 from dotty-staging/topic/vulpix-fixes1Felix Mulder2017-04-134-22/+56
|\ \ \ \ \ \ | | | | | | | | | | | | | | Various vulpix fixes
| * | | | | | 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
| |/ / / / /
* | | | | | Merge pull request #2247 from dotty-staging/update-filterTest-name-in-docOlivier Blanvillain2017-04-132-14/+8
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Update intructions to run a single test
| * | | | | Update intructions to run a single testOlivier Blanvillain2017-04-132-14/+8
|/ / / / / | | | | | | | | | | | | | | | I removed the `|` part, it's not possible anymore right?