Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1211 from dotty-staging/fix-#1202 | odersky | 2016-04-16 | 1 | -15/+7 |
|\ | | | | | Fix Tasty errors | ||||
| * | Update TASTY tests for dotty/src | VladimirNik | 2016-04-13 | 1 | -14/+3 |
| | | |||||
| * | Rearrange pickle tests | Martin Odersky | 2016-04-09 | 1 | -1/+4 |
| | | | | | | | | | | | | | | 1) Move passing test to pickling 2) Add test case for #1212 in pending 3) Disable annotations/internal in pickling tests. They lead to a stable symbol error which is explainable (modifiers are read before symbol is created). | ||||
* | | Fix issues with `enterBlock` for comment parsing | Felix Mulder | 2016-04-11 | 1 | -0/+30 |
| | | |||||
* | | Add commandline argument `-Ykeep-comments` to remove hardcoding | Felix Mulder | 2016-04-07 | 1 | -0/+2 |
| | | |||||
* | | Add binding between Symbol and Untyped tree in base context | Felix Mulder | 2016-04-07 | 2 | -37/+72 |
| | | | | | | | | This commit also adds a printer for use by dottydoc. | ||||
* | | Change tests to be based on JUnit, rename comments variable | Felix Mulder | 2016-04-07 | 2 | -506/+454 |
| | | |||||
* | | Add docstring support for types, vals, vars and defs | Felix Mulder | 2016-04-07 | 1 | -4/+137 |
| | | |||||
* | | Fix association of docstrings based on posisition | Felix Mulder | 2016-04-07 | 1 | -1/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes errors that would've occurred in this situation: ``` /** Docstring 1 */ <- this one would've been chosen /** Docstring 2 */ /** Docstring 3 */ class Class ``` And this situation: ``` /** Docstring 1 */ trait Trait /** Docstring 2 */ <- this one would've been chosen ``` | ||||
* | | Add package object support | Felix Mulder | 2016-04-07 | 1 | -2/+93 |
| | | |||||
* | | Add ability to parse nested classes/traits docstrings | Felix Mulder | 2016-04-07 | 1 | -1/+47 |
| | | |||||
* | | Fix traits w/o bodies not getting the correct docstring | Felix Mulder | 2016-04-07 | 1 | -4/+32 |
| | | |||||
* | | Add tests for classes and traits | Felix Mulder | 2016-04-07 | 2 | -2/+160 |
|/ | |||||
* | Drop Mode.scala from tasty_typer test | Martin Odersky | 2016-04-01 | 1 | -1/+1 |
| | | | | File was moved, it's no longer in package typer. | ||||
* | Move Mode to core | Martin Odersky | 2016-04-01 | 2 | -2/+2 |
| | | | | | Mode is used from a lot of low-level code, does not just reflect Typer info. So it makes more sense top to place it in the core package. | ||||
* | Fix build. | Dmitry Petrashko | 2016-03-31 | 1 | -2/+2 |
| | |||||
* | Merge pull request #1182 from dotty-staging/repl-fixes | odersky | 2016-03-31 | 3 | -1/+65 |
|\ | | | | | Repl fixes and tests | ||||
| * | Add docs to TestREPL | Martin Odersky | 2016-03-18 | 1 | -0/+8 |
| | | |||||
| * | Move all overridable bits into Config class | Martin Odersky | 2016-03-18 | 1 | -15/+14 |
| | | | | | | | | | | | | Central config class replaces mixture of parameters and fields. The fields were in part in the wrong class, where they could not easily be overridden. | ||||
| * | Add REPL tests | Martin Odersky | 2016-03-18 | 3 | -1/+58 |
| | | |||||
* | | TASTY tests for src/dotty | VladimirNik | 2016-03-24 | 1 | -10/+78 |
|/ | |||||
* | Merge pull request #1166 from dotty-staging/fix-#1136 | odersky | 2016-03-18 | 1 | -2/+2 |
|\ | | | | | Fix typing of SeqLiterals | ||||
| * | Add second field to SeqLiteral | Martin Odersky | 2016-03-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | The field keeps track of the element type. This is necessary because JavaSeqLiteral is nonvariant and the elements might be empty, so we cannot always compute the type from the element types. | ||||
* | | Polish rewrite test | Martin Odersky | 2016-03-12 | 1 | -3/+3 |
| | | | | | | | | Remove println; add docs | ||||
* | | Rewrite test | Martin Odersky | 2016-03-12 | 2 | -1/+19 |
|/ | | | | Test rewritings that were implemented so far. | ||||
* | Merge pull request #1126 from sjrd/scalajs | Dmitry Petrashko | 2016-03-04 | 1 | -1/+1 |
|\ | | | | | Initial infrastructure and hello world for the Scala.js back-end. | ||||
| * | Store the JSDefinitions in a custom platform SJSPlatform. | Sébastien Doeraene | 2016-03-01 | 1 | -1/+1 |
| | | | | | | | | | | | | This required the ability to instantiate a different `Platform` depending on settings, which, in turn, required to defer the initialization of `ContextBase.platform`. | ||||
* | | Neg tests: change val computeFilePathsAndExpErrors to def | VladimirNik | 2016-03-03 | 1 | -3/+3 |
| | | |||||
* | | Neg tests: remove negTest flag; neg tests are binded to neg directory | VladimirNik | 2016-03-03 | 2 | -53/+46 |
| | | |||||
* | | Neg tests: remove xerror parameter from tests (compute based on // error) | VladimirNik | 2016-03-03 | 2 | -121/+81 |
| | | |||||
* | | Merge pull request #1111 from dotty-staging/fix-#1099 | Dmitry Petrashko | 2016-03-02 | 1 | -1/+0 |
|\ \ | |/ |/| | Special case pattern matching against abstract types with class tags | ||||
| * | Remove bogus test | Martin Odersky | 2016-02-20 | 1 | -1/+0 |
| | | | | | | | | | | Tests failures were caused by previous incomplete implementation of classTag. | ||||
* | | Add a `dotty-interfaces` package | Guillaume Martres | 2016-02-28 | 2 | -0/+127 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We introduce a new entry point for the compiler in `dotty.tools.dotc.Driver`: ``` def process(args: Array[String], simple: interfaces.SimpleReporter, callback: interfaces.CompilerCallback): interfaces.ReporterResult ``` Except for `args` which is just an array, the argument types and return type of this method are Java interfaces defined in a new package called `dotty-interfaces` which has a stable ABI. This means that you can programmatically run a compiler with a custom reporter and callbacks without having to recompile it against every version of dotty: you only need to have `dotty-interfaces` present at compile-time and call the `process` method using Java reflection. See `test/test/InterfaceEntryPointTest.scala` for a concrete example. This design is based on discussions with the IntelliJ IDEA Scala plugin team. Thanks to Nikolay Tropin for the discussions and his PR proposal (see #1011). | ||||
* | | Merge pull request #1112 from dotty-staging/value-classes-private-this-param | Dmitry Petrashko | 2016-02-20 | 1 | -1/+1 |
|\ \ | |/ |/| | Value classes: add support for private[this] parameter | ||||
| * | fix to neg_valueClasses test | VladimirNik | 2016-02-19 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1066 from dotty-staging/fix-#997 | odersky | 2016-02-19 | 1 | -0/+2 |
|\ \ | | | | | | | Fix #997 | ||||
| * | | Fix expected error count | Martin Odersky | 2016-02-19 | 1 | -1/+1 |
| | | | |||||
| * | | Add checking for leaking private definitions | Martin Odersky | 2016-02-19 | 1 | -0/+2 |
| |/ | | | | | | | First version. Fixes #997. | ||||
* | | Merge pull request #1072 from dotty-staging/change-isVolatile-2 | odersky | 2016-02-19 | 1 | -0/+1 |
|\ \ | |/ |/| | Change is volatile 2 | ||||
| * | Allow Named Arguments in TypeArgs | Martin Odersky | 2016-02-19 | 1 | -1/+1 |
| | | | | | | | | Lets one also pass named arguments to methods. | ||||
| * | Check named type params for welformedness rules. | Martin Odersky | 2016-02-19 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #1106 from dotty-staging/neg-lines | Dmitry Petrashko | 2016-02-19 | 1 | -3/+133 |
|\ \ | |/ |/| | Neg tests check files for // error markers (rebased and updated) | ||||
| * | Neg tests: filename checking updated | VladimirNik | 2016-02-18 | 1 | -1/+1 |
| | | |||||
| * | Restructured JUnit neg tests | vsalvis | 2016-02-18 | 1 | -50/+107 |
| | | |||||
| * | Negtests (JUnit only) check that each error line has a // error | vsalvis | 2016-02-18 | 1 | -3/+76 |
| | | |||||
* | | Merge pull request #898 from dotty-staging/add/auto-uncurry | odersky | 2016-02-18 | 1 | -0/+1 |
|\ \ | |/ |/| | Implement auto tupling of function arguments | ||||
| * | Strengthen requirement for auto-tupling | Martin Odersky | 2016-02-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Was: corresponding parameter types "are compatible". Now: corresponding parameter types "conform". This avoids the inconsistency mentioned by @retronym in #897. | ||||
| * | Auto-uncurry n-ary functions. | Martin Odersky | 2016-02-16 | 1 | -0/+1 |
| | | | | | | | | Implements SIP #897. | ||||
* | | Add checks for value classes: | VladimirNik | 2016-02-16 | 1 | -0/+1 |
|/ | | | | | 1. Add errors in case of incorrect parameter; 2. Improvement to error message if value class is defined as a local class; | ||||
* | Merge pull request #1076 from dotty-staging/fix/run-tests-memory | Dmitry Petrashko | 2016-02-12 | 2 | -2/+11 |
|\ | | | | | partest: run tests with -Xms64M -Xmx1024M instead of JVM defaults |