Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move compiler and compiler tests to compiler dir | Felix Mulder | 2016-11-22 | 49 | -5395/+0 |
| | |||||
* | Move (most) unit tests to correct locations | Felix Mulder | 2016-11-22 | 48 | -472/+135 |
| | | | | | | Should still perhaps move `test/dotc/tests.scala` and the others in the same directory to a better more cohesive location. Would like to delete the worksheets as well - but maybe they hold sentimental value... | ||||
* | dottyDependsOnBootedLib should not be a JUnit test | Guillaume Martres | 2016-11-22 | 1 | -1/+1 |
| | | | | As indicated by the comment right above it. | ||||
* | Fix partest compilation of java-interop tests by moving them | Guillaume Martres | 2016-11-22 | 1 | -1/+1 |
| | | | | | | | | | | Previously, the tests where all in tests/pos/java-interop which means that partest would try to run them as one single test, this failed because some of these tests define classes with the same name. We could fix this by putting them all in separate packages but for now it's simple to move them to tests/pos-java-interop (they will still be run individually as they should thanks to the `java_all` test defined in tests.scala) | ||||
* | Move sjs, make sure that partest compiles everything in dirs | Felix Mulder | 2016-11-22 | 3 | -106/+78 |
| | |||||
* | Add bin project to separate scripted tests from compiler tests | Felix Mulder | 2016-11-22 | 1 | -89/+0 |
| | |||||
* | Add dotty-library to classpath in dottydoc tests | Felix Mulder | 2016-11-22 | 5 | -21/+55 |
| | |||||
* | Create dotty-lib.jar for run tests | Felix Mulder | 2016-11-22 | 6 | -54/+211 |
| | |||||
* | Remove compiler when running applications via dotr | Felix Mulder | 2016-11-22 | 1 | -1/+5 |
| | |||||
* | Merge pull request #1725 from dotty-staging/change-pickle-early | Guillaume Martres | 2016-11-22 | 1 | -4/+3 |
|\ | | | | | Don't retain picklers until backend. | ||||
| * | Revert 53cd512 | Martin Odersky | 2016-11-19 | 1 | -4/+3 |
| | | | | | | | | | | | | Re-enable context-leak detection by reverting 53cd512. But leak detection seems to be leaky itself :-) | ||||
* | | Merge pull request #1634 from dotty-staging/change-tasty-pos-ctd | odersky | 2016-11-21 | 1 | -1/+1 |
|\ \ | |/ |/| | Towards correct positions in TASTY types | ||||
| * | Clean up parameterized typedefs | Martin Odersky | 2016-11-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Express them in terms PolyTypeTrees rather than having an irregular, untyped only tparams field. This is necessary if we want to pickle type trees instead of types, because now the rhs of a typedef tells the whole story, so we are not required any longer to use the info of the symbol. | ||||
* | | Make sure all `Message` creation is by name | Felix Mulder | 2016-11-14 | 1 | -2/+2 |
| | | |||||
* | | Make sure messages are lazily evaluated until `report` in `Reporter` | Felix Mulder | 2016-11-10 | 1 | -0/+37 |
|/ | |||||
* | Change `ClassicReporter` to `TestReporter` in test sources | Felix Mulder | 2016-11-09 | 2 | -4/+56 |
| | |||||
* | add the forgotten patmat test | liu fengyun | 2016-11-09 | 1 | -0/+90 |
| | |||||
* | Merge pull request #1587 from dotty-staging/change-tasty-pos | Guillaume Martres | 2016-11-04 | 1 | -1/+1 |
|\ | | | | | Fix Tasty positions | ||||
| * | Pickle Inlined trees | Martin Odersky | 2016-10-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | Inlined trees should be preserved by pickling so that we keep positions accurate. With that change now all tasty tests are tested for position accuracy. | ||||
| * | Drop erroneous setPos in TreeUnpickler. | Martin Odersky | 2016-10-17 | 1 | -1/+1 |
| | | | | | | | | | | With that change, all files tested in pickleOK have the same positions before and after pickling. | ||||
* | | address review feedback | liu fengyun | 2016-10-22 | 1 | -3/+5 |
| | | |||||
* | | add tests for modifiers | liu fengyun | 2016-10-22 | 1 | -0/+160 |
|/ | |||||
* | Merge pull request #1565 from Blaisorblade/warnings | Felix Mulder | 2016-10-14 | 1 | -3/+3 |
|\ | | | | | Small fixes to some warnings/comment typos | ||||
| * | Fix compilation warnings | Paolo G. Giarrusso | 2016-10-07 | 1 | -3/+3 |
| | | |||||
* | | fix #1274: test for dotty bootstrap based on tasty | liu fengyun | 2016-10-13 | 1 | -11/+35 |
| | | |||||
* | | Refactor explanation interpolator | Felix Mulder | 2016-10-10 | 1 | -3/+1 |
| | | |||||
* | | Remove duplication of console reporters | Felix Mulder | 2016-10-10 | 1 | -1/+3 |
| | | |||||
* | | Make relevant parts of compiler conform to new error handling | Felix Mulder | 2016-10-10 | 2 | -4/+4 |
| | | |||||
* | | Add modifiers to highlighting | Felix Mulder | 2016-10-10 | 3 | -7/+10 |
|/ | |||||
* | Add `Comments` object instead of `Scanners.Comment` case class | Felix Mulder | 2016-10-06 | 1 | -45/+45 |
| | |||||
* | Merge pull request #1492 from dotty-staging/add-inline | Guillaume Martres | 2016-10-06 | 3 | -3/+35 |
|\ | | | | | Implement inline | ||||
| * | Add InlineBytecodeTests to check that inline really works | Guillaume Martres | 2016-10-05 | 1 | -0/+32 |
| | | |||||
| * | DottyBytecodeTest: fix diffInstructions output | Guillaume Martres | 2016-10-05 | 1 | -1/+1 |
| | | |||||
| * | Make inline annotation @scala.inline. | Martin Odersky | 2016-10-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop @dotty.annotation.inline. This will inline all @inline marked methods in Scala for which a body is known (i.e. that are either compiled in the same run or have Tasty trees available). Option -Yno-inline suppresses inlining. This is needed for the moment because some @inline methods access private members or members that are otherwise inaccessible at the call-site. Also fixes some problems in Inliner - make sure type arguments to inline calls re fully defined - don't forget recursive calls in typeMap - don't forget positions in treeMap - drop dead code dealing with outer. | ||||
* | | Merge pull request #1494 from martijnhoekstra/wintests | Felix Mulder | 2016-10-06 | 8 | -18/+52 |
|\ \ | |/ |/| | [WIP] fix encoding issues | ||||
| * | test negtest path with / rather than path separator | Martijn Hoekstra | 2016-09-08 | 1 | -1/+1 |
| | | |||||
| * | honor -encoding compiler flag and defaults | Martijn Hoekstra | 2016-09-07 | 5 | -9/+18 |
| | | | | | | | | | | | | | | | | | | rename test/pos/valueclasses to pos_valueclasses tests/pos/valueclasses generates a valueclasses.flags file in /tests/partest-generated/pos that conflicts with the valueClasses.flags file that tests/neg/valueClasses.scala tries to create | ||||
| * | force UTF-8 for slurp and write | Martijn Hoekstra | 2016-09-07 | 1 | -2/+28 |
| | | |||||
| * | ignore REPL transscript line ending differences | Martijn Hoekstra | 2016-09-07 | 1 | -2/+2 |
| | | |||||
| * | normalize paths for tests | Martijn Hoekstra | 2016-09-07 | 3 | -5/+4 |
| | | |||||
* | | Make InterpolatedString conform to ordering requirement | Martin Odersky | 2016-09-24 | 1 | -2/+2 |
|/ | | | | Arrange its sub-elements so that they appear strictly left to right. | ||||
* | Merge pull request #1461 from dotty-staging/fixes-gadts | odersky | 2016-08-26 | 1 | -0/+1 |
|\ | | | | | Fixes of GADTs and test recategorization. | ||||
| * | Recategorize tests | Martin Odersky | 2016-08-26 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | Passing tests from pending/pos go in pos. Some others go in diabled/not-testable. These are tests that require a compilation order which we cannot yet do with our unit testing framework. Compiling them alltogether (as is now doen in junit) does not work either for them because they contain a duplicate class. | ||||
* | | Fix a couple of warnings. | Nicolas Stucki | 2016-08-26 | 1 | -1/+0 |
|/ | |||||
* | Merge pull request #1453 from felixmulder/topic/dottydoc | odersky | 2016-08-24 | 1 | -45/+45 |
|\ | | | | | Add dottydoc | ||||
| * | Add module member lookup | Felix Mulder | 2016-08-19 | 1 | -45/+45 |
| | | |||||
* | | Add passing test | Martin Odersky | 2016-08-18 | 1 | -0/+7 |
|/ | | | | Needs to be done in pos-special because junit tests do not recognize _1, _2. | ||||
* | Fix readLine in TestREPL to align with Ammonite reader | Martin Odersky | 2016-08-16 | 1 | -3/+11 |
| | | | | | | Needs to read several input lines at once. Enables repl test of new error messages. | ||||
* | Merge pull request #1289 from dotty-staging/fix/partest-separate | Guillaume Martres | 2016-07-27 | 2 | -27/+58 |
|\ | | | | | partest: Enable separate compilation | ||||
| * | partest: put more stuff on javac classpath | Guillaume Martres | 2016-07-27 | 1 | -0/+56 |
| | | | | | | | | | | | | | | | | Some java tests require the scala-library to be present on the classpath, this fixes tests/pos/java-interop/{t1186, t1235, t1254, t1642}. Also correctly redirect the output of javac so that it will be displayed by partest --verbose |