aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala
Commit message (Collapse)AuthorAgeFilesLines
* Move 'invalid super qualifier' error to new error format.Abel Nieto2017-03-171-0/+24
| | | | | | | | | As part of https://github.com/lampepfl/dotty/issues/1589, use the new error message for static super references where the qualifier isn't a parent of the class. Tested: Added unit test.
* Analysis of overloaded or recursive is harder than expectedEnno Runne2017-03-071-3/+3
| | | | Fall-back to reporting "overloaded or recursive needs type".
* More detail in error messagesEnno Runne2017-03-051-2/+37
| | | | | | Split error messages for recursive method and overloaded method needs type into two (but did not solve the analysis which to show). Make CyclicReference type error construct corresponding error message.
* Explanations for recursive/cyclic type requirementsEnno Runne2017-03-041-0/+58
|
* Change 'private, protected, or this expected' to MessageEnno Runne2017-02-231-0/+14
|
* Change 'is abstract; cannot be instantiated' to MessageEnno Runne2017-02-201-0/+39
|
* Change 'mixed left- and right-associative operators' to MessageEnno Runne2017-02-201-0/+23
|
* Change '... expected but found ...' to MessageEnno Runne2017-02-141-0/+29
|
* Ennru forward reference error (#1973)Enno2017-02-141-1/+23
| | | | | | | | | | * 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/+43
| | | | | | * Change 'overrides nothing' to report via Message, split into two different messages * Change 'overrides nothing' to report via Message, split into two different messages
* Support expecting compiler errors from all phasesEnno Runne2017-02-101-2/+2
|
* Address reviews for #1966Felix Mulder2017-02-101-1/+1
|
* Fix #1965: add proper testing infrastructure for reporting testsFelix Mulder2017-02-101-0/+45