Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add dotty-library to classpath in dottydoc tests | Felix Mulder | 2016-11-22 | 4 | -12/+41 |
| | |||||
* | Create dotty-lib.jar for run tests | Felix Mulder | 2016-11-22 | 3 | -10/+56 |
| | |||||
* | 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 :-) | ||||
* | | 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. | ||||
* | Change `ClassicReporter` to `TestReporter` in test sources | Felix Mulder | 2016-11-09 | 1 | -4/+4 |
| | |||||
* | add the forgotten patmat test | liu fengyun | 2016-11-09 | 1 | -0/+90 |
| | |||||
* | 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 |
| | | |||||
* | | 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 | 2 | -6/+8 |
|/ | |||||
* | 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 | 2 | -1/+33 |
|\ | | | | | 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 |
| | | |||||
* | | Merge pull request #1494 from martijnhoekstra/wintests | Felix Mulder | 2016-10-06 | 7 | -15/+45 |
|\ \ | |/ |/| | [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 | 4 | -6/+11 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | Add module member lookup | Felix Mulder | 2016-08-19 | 1 | -45/+45 |
| | |||||
* | 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 | 1 | -1/+2 |
|\ | | | | | partest: Enable separate compilation | ||||
| * | partest: Enable separate compilation and javac tests | Guillaume Martres | 2016-07-27 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | partest can separately compile files based on their suffix (_1, _2, ...), it turns out that this feature was never enabled in the dotty version of partest and no one noticed (it prints warnings in ./tests/partest-generated/gen.log which no one reads), tests with *.java files should be compiled both with javac and dotty, but compiling with javac was also disabled. Enabling this revealed some latent bugs that will be fixed in the next few commits. | ||||
* | | Fixes #1316: Remove JLine | Kazuyoshi Kato | 2016-07-27 | 1 | -5/+0 |
|/ | | | | | Dotty uses ammonite.terminal since April (53bd25f) which replaces JLine. There is no reason to keep it anymore. | ||||
* | Fix error printing in compiler test | Martin Odersky | 2016-07-16 | 1 | -9/+7 |
| | | | | Error messages were suppressed so far, now get printed. | ||||
* | Fix #1336: Discard reporter output for tests that succeed. | Nicolas Stucki | 2016-07-07 | 1 | -5/+20 |
| | |||||
* | partest: correct line numbers in run stack traces | Guillaume Martres | 2016-06-30 | 1 | -6/+2 |
| | | | | | | | partest adds a warning in a comment at the beginning of source files that it copies, but this means that every line number displayed in a stack trace is offset by 6. We can workaround this by making the warning a single line with no newline at the end. | ||||
* | Merge pull request #1251 from felixmulder/topic/fix-stdoutredirect-repl | Felix Mulder | 2016-06-01 | 1 | -0/+3 |
|\ | | | | | Fix stdout redirect for REPL's println | ||||
| * | Use ChoiceSetting for coloring | Felix Mulder | 2016-05-12 | 1 | -1/+1 |
| | | |||||
| * | Add CLI option to disable REPL syntax highlighting | Felix Mulder | 2016-05-12 | 1 | -2/+4 |
| | | |||||
| * | Strip colors from output in TestREPL | Felix Mulder | 2016-05-12 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #1256 from felixmulder/topic/test-bcode | Dmitry Petrashko | 2016-05-27 | 4 | -0/+713 |
|\ \ | | | | | | | Add bytecode checking infrastructure | ||||
| * | | Add tests for primitive construction as well as reference and boxed unit arrays | Felix Mulder | 2016-05-18 | 3 | -3/+100 |
| | | | |||||
| * | | Add test for `Array.ofDim` | Felix Mulder | 2016-05-17 | 1 | -0/+24 |
| | | | |||||
| * | | Fix #1258: correct behavior for annotated values | Felix Mulder | 2016-05-17 | 2 | -19/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Annotated values are encapsulated in a `ConcreteAnnotation`, as such, the statement `tpe isRef defn.IntClass` would yield false despite the annotated reference being an Int. The tpe is now unwrapped if it has an annotation. If the transformation fails despite having the annotation the compiler will warn. | ||||
| * | | Add switch verification test | Felix Mulder | 2016-05-17 | 2 | -2/+62 |
| | | | |||||
| * | | Add bytecode checking infrastructure | Felix Mulder | 2016-05-17 | 4 | -0/+516 |
| |/ | |||||
* / | Add Eq instances of standard types to Predef | Martin Odersky | 2016-05-23 | 1 | -1/+5 |
|/ | | | | | | | | | To make tests pass, this required a looser specification of `assumedCanEquals`, so that an abstract type T can be compared to arbitrary values, as long as its upper bound can be compared. E.g. T == null T == "abc" | ||||
* | Rename old DottyRepl (used for power mode) using ILoop to TypeStealer | Felix Mulder | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | Revert Scanners and Tokens to their original form | Felix Mulder | 2016-04-28 | 1 | -1/+1 |
| | | | | | Since we decided to go with the non dotty-scanner approach these are unnecessary to have altered, might just as well revert them. | ||||
* | Add multiline support using ammonite multilineFilter | Felix Mulder | 2016-04-28 | 1 | -1/+1 |
| | |||||
* | Initial implementation featuring two different highlighters | Felix Mulder | 2016-04-28 | 1 | -2/+2 |
| | | | | | | | | | | | One was implemted by hand and the other by using dotty's parser. The one built by hand is shorter, and behaves correctly. The scanner one is unfortunately not ready for testing - there are too many things that are workarounds for it to be a good solution as of now The code added from Ammonite is licensed under MIT, not sure where to put the license - but will add it once I know. | ||||
* | Fix issues with `enterBlock` for comment parsing | Felix Mulder | 2016-04-11 | 1 | -0/+30 |
| |