aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotc
Commit message (Collapse)AuthorAgeFilesLines
* Fix constant type val value inline in constructors.Nicolas Stucki2017-04-161-0/+2
|
* Fix #2184: Hyper Bootstrap! Integrate the backend as a git submoduleGuillaume Martres2017-04-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove need for java written summary reporterFelix Mulder2017-04-121-2/+2
|
* Add `Properties` object for dotty testing props and envFelix Mulder2017-04-121-4/+2
|
* Move vulpix to `dotty.tools.vulpix`Felix Mulder2017-04-121-1/+1
|
* Rename filter shorthand to vulpix and update `drone.yml`Felix Mulder2017-04-121-4/+1
|
* Remove partest, keeping `dotc.tests` for nowFelix Mulder2017-04-121-3/+14
|
* Fix settings having uninitialized valuesFelix Mulder2017-04-121-0/+5
|
* Rename test suite to "vulpix"Felix Mulder2017-04-121-1/+1
|
* Run compileStdLib only as junit testMartin Odersky2017-04-111-1/+3
| | | | It fails without any test output in partest
* Address reviewer feedback on #2125Felix Mulder2017-03-291-2/+2
|
* Add test filtering via `filterTest <regex>`Felix Mulder2017-03-291-0/+1
|
* Restore partest and enable it to run alongside new partestFelix Mulder2017-03-291-0/+374
|
* Disable interactive mode in CIFelix Mulder2017-03-291-0/+2
|
* Make compileList take test name argFelix Mulder2017-03-291-0/+1
|
* Kill partestFelix Mulder2017-03-291-14/+15
|
* Remove `tests.scala`Felix Mulder2017-03-291-374/+0
|
* Move whitelist test out of `tests.scala`Felix Mulder2017-03-291-12/+0
|
* Move REPL diff tests out of `tests.scala`Felix Mulder2017-03-291-2/+0
|
* Fix varargs in methods and constructors (#2135)Igor Mielientiev2017-03-221-0/+3
| | | | | | | * Fix varargs in methods (Issue: #1625) * Fix minor comments * Change varargs parameter message * Fix failed test, fix case for constructor
* Fix #2089: Error when compiling ParSetLike, ParSet, SetLike, in this orderGuillaume Martres2017-03-131-0/+4
| | | | | This fix is inspired by 6c91684, but I couldn't tell you why it works exactly, it's just something I tried.
* Fix compilation of ParSetLike by itselfGuillaume Martres2017-03-131-0/+1
| | | | | | | Before this commit, ParSetLike compiled fine as part of compileStdLib but crashed when compiled by itself because we tried to force a LazyRef while forcing the same LazyRef. This commit fixes this by being slightly more lazy where it matters.
* Move tests/tasty/* to tests/pickling/*Guillaume Martres2017-03-111-1/+0
| | | | | These two directories were tested using the same flags, but tests/tasty compiled all of its files at once which is usually not what is intended.
* Fix test ^ 2Martin Odersky2017-02-211-1/+1
|
* Fix testMartin Odersky2017-02-211-1/+1
|
* Fix #2000: Make implicit and non-implicit functions incomparable with <:<Martin Odersky2017-02-211-0/+1
| | | | | | | | | Implicit and non-implicit functions are incomparable with <:<, but are treated as equivalent with `matches`. This means implicit and non-implicit functions of the same types override each other, but RefChecks will give an error because their types are not subtypes. Also contains a test for #2002.
* Merge pull request #1987 from dotty-staging/topic/remove-unused-flagsFelix Mulder2017-02-201-2/+0
|\ | | | | Remove unused flags
| * Make non-existent compiler options emit warnings instead of failingFelix Mulder2017-02-201-2/+0
| |
* | Disable tests that require scala-compilerGuillaume Martres2017-02-181-1/+0
|/ | | | This is necessary if we ever want to get rid of our dependency on scala-compiler
* Fix some dotty compilation errorsGuillaume Martres2017-01-281-1/+1
|
* Use new sbt-based bootstrap for partest tooGuillaume Martres2017-01-271-40/+0
| | | | | | | `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.
* Merge pull request #1880 from dotty-staging/improve-whitelist-infrastructureodersky2017-01-123-685/+28
|\ | | | | Improve whitelist infrastructure.
| * Simplify blacklist paths.Nicolas Stucki2017-01-051-18/+18
| |
| * Remove whitelist and keep only blacklist.Nicolas Stucki2017-01-052-652/+7
| | | | | | | | | | | | Now that that the blacklist is fully know and is small enough, it will be simpler to maintain only the blacklist.
| * Add stdlib whitelist loader.Nicolas Stucki2017-01-051-22/+10
| |
* | Merge pull request #1690 from dotty-staging/benchDmitry Petrashko2017-01-111-1/+1
|\ \ | | | | | | Fix benchmarks and add multiple mini benchmark tests
| * | fix benchmark testliu fengyun2016-11-241-1/+1
| | |
* | | Bump version from 0.1-SNAPSHOT to 0.1.1-SNAPSHOTGuillaume Martres2017-01-081-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix test pos/compileStdLibNicolas Stucki2017-01-032-4/+21
| | | | | | | | | | | | | | | | The issue was that all the files stdlib files where copied in partest-generated/pos/compileStdLib direclty (i.e. directories flattend). This implies that files with the same names would overwrite eachother (like `package.scala` and `Set.scala`).
* | Tweak the way annotations are represented in desugaringMartin Odersky2016-12-212-4/+1
| | | | | | | | | | Need to be careful not to read a classfile before a compilation unit defining the annotation is entered.
* | Fiddling with wideneningMartin Odersky2016-12-212-8/+4
| | | | | | | | | | | | Fixing two failures in stdlib having to do with widening. In both cases, a widenIfUnstable was required. One was widening too much, the other too little.
* | Fix dottydoc ast phaseFelix Mulder2016-12-202-12/+1
| |
* | Reorganize blacklist along failure classesMartin Odersky2016-12-202-15/+39
| |
* | Blacklist SystemProperties againMartin Odersky2016-12-202-2/+4
| | | | | | | | | | SystemProperties leads to a dottydoc failure, so stays blacklisted for now. It does pass the normal compile-stdlib test.
* | Further massaging of stdlib-collections listsMartin Odersky2016-12-202-34/+10
| |
* | More reorgs to scala-collectons listsMartin Odersky2016-12-202-47/+31
| | | | | | | | | | | | - Move non-specialized functions to whitelist - Replace `macro ???` with just `???` in scala-scala Several other consolidations
* | More reshuffling of scala-collections listsMartin Odersky2016-12-202-96/+25
| |
* | Update scala-collections listsMartin Odersky2016-12-202-9/+23
| |
* | More lenient handling of mixed parameterless and nullary methodsMartin Odersky2016-12-201-5/+0
| | | | | | | | | | When faced with a denotation that combines parameterless and nullary method definitions (toString is a common example), ignore any redundant () applications.
* | Fix typo in file nameMartin Odersky2016-12-201-1/+1
| |