aboutsummaryrefslogtreecommitdiff
path: root/tests/repl
Commit message (Collapse)AuthorAgeFilesLines
* Ennru forward reference error (#1973)Enno2017-02-141-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)Enno2017-02-121-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 Martres2017-02-051-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 brokenGuillaume Martres2017-01-281-0/+5
|
* Fix #1806: Define outer accessors at the right phaseMartin Odersky2016-12-161-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-showFelix Mulder2016-12-141-1/+1
|\ | | | | [REPL] Add show capability to common types
| * Fix repl testsFelix Mulder2016-12-011-1/+1
| |
* | handle ConstantType in TypeComparerReto Hablützel2016-12-041-0/+4
|/
* Fix defs not being printed correctlyFelix Mulder2016-11-241-0/+9
|
* Update tests fixing contributor PRFelix Mulder2016-11-246-17/+17
|
* Move sjs, make sure that partest compiles everything in dirsFelix Mulder2016-11-221-3/+3
|
* Add dotty-library to classpath in dottydoc testsFelix Mulder2016-11-222-25/+25
|
* Fix #1286: Error on inexistent imports that are not used.Nicolas Stucki2016-10-211-0/+10
| | | | This commit also fixes #1583.
* Add Levenshtein distance for member values and typesFelix Mulder2016-10-101-0/+5
|
* Improve positions for MemberDefs using `namePos`Felix Mulder2016-10-102-9/+9
|
* Handle multiline messages in ConsoleReporterFelix Mulder2016-10-102-56/+50
|
* Fix TypeMismatch not getting nonsensical tags in some casesFelix Mulder2016-10-102-10/+10
| | | | Thanks @smarter!
* Fix reporting of ErrorTypes in highlighted segmentsFelix Mulder2016-10-102-10/+10
|
* Make `typeDiff` aware of placeholder typesFelix Mulder2016-10-101-7/+7
|
* Refactor explanation interpolatorFelix Mulder2016-10-102-36/+33
|
* Remove duplication of console reportersFelix Mulder2016-10-102-56/+63
|
* Add modifiers to highlightingFelix Mulder2016-10-102-30/+30
|
* Fix readLine in TestREPL to align with Ammonite readerMartin Odersky2016-08-161-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-fixGuillaume Martres2016-08-071-0/+10
|\ | | | | Fix #1372: Add handler for `PatDef`s to REPL
| * Fix #1372: Add handler for `PatDef`s to REPLClemens Winter2016-08-021-0/+10
| |
* | Fix #1367: Add ParsedTry case to UntypedTree{Copier,Map,Accumulator}Clemens Winter2016-08-031-0/+3
|/
* Fix varable printing in REPLMartin Odersky2016-07-311-0/+8
| | | | | | We accidentally used `toString` instead of `show`. Fixes #1426.
* Revert Scanners and Tokens to their original formFelix Mulder2016-04-282-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 fileMartin Odersky2016-03-181-0/+24
|
* Add REPL testsMartin Odersky2016-03-183-0/+47