Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #1959: infix type operators in the REPL | Abel Nieto | 2017-04-02 | 1 | -0/+5 |
| | | | | | | | | | | | | | | Infix type operators were broken in the REPL. The REPL uses fold methods from the untpd package, but those were skipping the operator subtree when folding over an InfixOp. Fix the issue by taking the operator into account. Tested: 1) Verified that only the REPL code uses the modified fold method. 2) Added repl test. | ||||
* | Fixed #1573: Add tests for fixed issue. | Nicolas Stucki | 2017-03-20 | 1 | -0/+5 |
| | |||||
* | Update repl check files | Martin Odersky | 2017-03-05 | 2 | -3/+3 |
| | | | | | | Deleting an error message changes all subsequent error message umbers, which means that REPL tests were invalidated. This is a bit unfortunate from a testing standpoint. | ||||
* | typedApply: Avoid using incorrect context in tryEither | Guillaume Martres | 2017-02-18 | 1 | -1/+1 |
| | | | | | | | | Previously, the following code accidentally used the implicit Context parameter of `typedApply`: tryEither { implicit ctx => typedOpAssign | ||||
* | Ennru forward reference error (#1973) | Enno | 2017-02-14 | 1 | -0/+7 |
| | | | | | | | | | | * Change 'forward reference extending over the definition' to Message * Change 'forward reference extending over the definition' to Message * pesky file should not be included * Change 'forward reference extending over the definition' to Message (test case) | ||||
* | Change 'overrides nothing' to report via Message (see #1965) (#1968) | Enno | 2017-02-12 | 1 | -0/+17 |
| | | | | | | * Change 'overrides nothing' to report via Message, split into two different messages * Change 'overrides nothing' to report via Message, split into two different messages | ||||
* | Better positions for infix term operations. | Guillaume Martres | 2017-02-05 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | Preserving the position of infix operators is useful for IDEs' type-at-point. We also preserve the position of the untyped lhs of right-associative operators, this is useful both for IDEs and for error messages, before: 4 |val x: List[Int] = "foo" :: List(1) | ^ | found: String($1$) | required: Int | After: scala> val x: List[Int] = "foo" :: List(1) -- [E007] Type Mismatch Error: <console> --------------------------------------- 4 |val x: List[Int] = "foo" :: List(1) | ^^^^^ | found: String($1$) | required: Int | Note: It would be even nicer if we displayed "String" instead of "String($1$)" since $1$ is synthetic, this commit does not address this. | ||||
* | Workaround #1895: Bringing a symbol to a new run is broken | Guillaume Martres | 2017-01-28 | 1 | -0/+5 |
| | |||||
* | Fix #1806: Define outer accessors at the right phase | Martin Odersky | 2016-12-16 | 1 | -0/+5 |
| | | | | | | | | | Some outer accessors were defined at phase explicitOuter, but were entered into the scope of their enclosing class only at phase explicitOuter + 1. This turned them to stale symbols when trying to access them at a later run, because at their initially valid phase they were not found as members of their owner. | ||||
* | Merge pull request #1761 from dotty-staging/topic/product-show | Felix Mulder | 2016-12-14 | 1 | -1/+1 |
|\ | | | | | [REPL] Add show capability to common types | ||||
| * | Fix repl tests | Felix Mulder | 2016-12-01 | 1 | -1/+1 |
| | | |||||
* | | handle ConstantType in TypeComparer | Reto Hablützel | 2016-12-04 | 1 | -0/+4 |
|/ | |||||
* | Fix defs not being printed correctly | Felix Mulder | 2016-11-24 | 1 | -0/+9 |
| | |||||
* | Update tests fixing contributor PR | Felix Mulder | 2016-11-24 | 6 | -17/+17 |
| | |||||
* | Move sjs, make sure that partest compiles everything in dirs | Felix Mulder | 2016-11-22 | 1 | -3/+3 |
| | |||||
* | Add dotty-library to classpath in dottydoc tests | Felix Mulder | 2016-11-22 | 2 | -25/+25 |
| | |||||
* | Fix #1286: Error on inexistent imports that are not used. | Nicolas Stucki | 2016-10-21 | 1 | -0/+10 |
| | | | | This commit also fixes #1583. | ||||
* | Add Levenshtein distance for member values and types | Felix Mulder | 2016-10-10 | 1 | -0/+5 |
| | |||||
* | Improve positions for MemberDefs using `namePos` | Felix Mulder | 2016-10-10 | 2 | -9/+9 |
| | |||||
* | Handle multiline messages in ConsoleReporter | Felix Mulder | 2016-10-10 | 2 | -56/+50 |
| | |||||
* | Fix TypeMismatch not getting nonsensical tags in some cases | Felix Mulder | 2016-10-10 | 2 | -10/+10 |
| | | | | Thanks @smarter! | ||||
* | Fix reporting of ErrorTypes in highlighted segments | Felix Mulder | 2016-10-10 | 2 | -10/+10 |
| | |||||
* | Make `typeDiff` aware of placeholder types | Felix Mulder | 2016-10-10 | 1 | -7/+7 |
| | |||||
* | Refactor explanation interpolator | Felix Mulder | 2016-10-10 | 2 | -36/+33 |
| | |||||
* | Remove duplication of console reporters | Felix Mulder | 2016-10-10 | 2 | -56/+63 |
| | |||||
* | Add modifiers to highlighting | Felix Mulder | 2016-10-10 | 2 | -30/+30 |
| | |||||
* | Fix readLine in TestREPL to align with Ammonite reader | Martin Odersky | 2016-08-16 | 1 | -0/+74 |
| | | | | | | Needs to read several input lines at once. Enables repl test of new error messages. | ||||
* | Merge pull request #1436 from cswinter/wip-repl-patdef-fix | Guillaume Martres | 2016-08-07 | 1 | -0/+10 |
|\ | | | | | Fix #1372: Add handler for `PatDef`s to REPL | ||||
| * | Fix #1372: Add handler for `PatDef`s to REPL | Clemens Winter | 2016-08-02 | 1 | -0/+10 |
| | | |||||
* | | Fix #1367: Add ParsedTry case to UntypedTree{Copier,Map,Accumulator} | Clemens Winter | 2016-08-03 | 1 | -0/+3 |
|/ | |||||
* | Fix varable printing in REPL | Martin Odersky | 2016-07-31 | 1 | -0/+8 |
| | | | | | | We accidentally used `toString` instead of `show`. Fixes #1426. | ||||
* | Revert Scanners and Tokens to their original form | Felix Mulder | 2016-04-28 | 2 | -36/+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 test file | Martin Odersky | 2016-03-18 | 1 | -0/+24 |
| | |||||
* | Add REPL tests | Martin Odersky | 2016-03-18 | 3 | -0/+47 |