aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/reporting
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1722 from dotty-staging/topic/fix#1708odersky2016-11-171-1/+9
|\ | | | | Fix #1708: duplicate symbols in package
| * Only issue error, no unlinkingFelix Mulder2016-11-171-1/+1
| | | | | | | | | | | | Unlinking proved to cause other problems in the typer, specifically if typechecking members of non-existing package or things referring to the unlinked package
| * Unlink type when entering clashing packageFelix Mulder2016-11-171-1/+9
| | | | | | | | | | | | | | | | | | Here we unlink the existing type that clashes with the package to be entered into the symbol table, issue an error and the proceed to enter the rest of the symbols. My concern with this approach is what happens during typechecking if other things reference the unlinked type.
* | Merge pull request #1696 from felixmulder/topic/assert-message-lazinessFelix Mulder2016-11-174-41/+78
|\ \ | |/ |/| Make sure messages are lazily evaluated until `report` in `Reporter`
| * Add note detailing possible memory leak in `StoreReporter`Felix Mulder2016-11-141-3/+10
| |
| * Make sure all `Message` creation is by nameFelix Mulder2016-11-141-13/+13
| |
| * Make sure messages are lazily evaluated until `report` in `Reporter`Felix Mulder2016-11-104-26/+56
| |
* | Add an error message for illegal start of simple patternMiron Aseev2016-11-161-0/+79
| |
* | Add an error message for incorrect sequence wildcard pattern positionMiron Aseev2016-11-141-0/+23
| |
* | Clarify error for unbound identifierPaolo G. Giarrusso2016-11-111-3/+5
| |
* | Clarify ScalaDocs for MessagePaolo G. Giarrusso2016-11-111-1/+2
| |
* | Fix typosPaolo G. Giarrusso2016-11-111-1/+1
| |
* | Fix extra spacePaolo G. Giarrusso2016-11-111-1/+1
|/
* Change `ClassicReporter` to `TestReporter` in test sourcesFelix Mulder2016-11-092-85/+19
|
* add back classic reporterliu fengyun2016-11-091-0/+85
|
* Inline iff reporter has no new errors post typing `rhs`Felix Mulder2016-11-071-0/+16
|
* Fix typo in `IllegalLiteral` messageFelix Mulder2016-11-061-1/+1
|
* Add error message for illegal literalsMiron Aseev2016-11-071-0/+14
|
* Clean up in ConsoleReporter & MessageRenderingFelix Mulder2016-11-042-32/+51
|
* Fix #1604: print outer context if applicableFelix Mulder2016-11-041-1/+7
|
* Merge pull request #1646 from slothspot/1579Felix Mulder2016-11-042-99/+120
|\ | | | | Fix #1579: Adapt the sbt bridge for the new error message
| * #1579 Adapt the sbt bridge for the new error messageDmitry Melnichenko2016-11-042-99/+120
| |
* | Add error message - _* syntax - Parsers.scala:1082Andrew Zurn2016-11-021-1/+26
| |
* | Clean up in `messages.scala`Felix Mulder2016-11-021-227/+224
|/
* Update error msg for Parsers.scala:1738 and 1739Lucas Burson2016-10-311-0/+17
| | | | | | | | | | | | | | | | These error messages are for aux ctors needing non-implicit params. I'm testing the error messages with this code ``` class Square(val len: Int) { // typical cases: // (1) this() parens are forgotten, (2) argument set as implicit def this(implicit width: Double) = this(0) def this = { this(4) } } class MyList(val s: String) { def this ```
* Add error message IdentifierExpectedThiago Pereira2016-10-311-0/+24
| | | | | This commit adds the semantic object fir the ```identifier expected``` error. It is part of the https://github.com/lampepfl/dotty/issues/1589
* Add error message Parsers.scala:1620 missing type keywordMatthias Sperl2016-10-311-0/+13
|
* Improve error message formattingShane Delmore2016-10-251-27/+39
|
* Update IllegalVariableInPatternAlternative error messageShane Delmore2016-10-251-0/+26
|
* Improve error message for WrongNumberOfArgsShane Delmore2016-10-251-0/+35
|
* Add error message - Parsers.scala:695Andrew Zurn2016-10-251-0/+24
|
* Add error message - Comments.scala:128Thiago Pereira2016-10-251-1/+38
| | | | | This commit adds the semantic object for the ```definition not found``` error. It is part of the (https://github.com/lampepfl/dotty/issues/1589)[https://github.com/lampepfl/dotty/issues/1589]
* break linesSebastian Harko2016-10-251-14/+11
|
* add error message related to missing yield/do in for-comprehensionsSebastian Harko2016-10-241-0/+35
|
* Update error message at Parsers.scala:1901Lucas Burson2016-10-231-2/+14
| | | | This one is about a 'missing return type' when we can't infer a type. I used tests/neg/i871.scala to verify the change.
* Add explanation for "illegal start of simple expression"Jyotman Singh2016-10-231-0/+18
|
* Add unbound placeholder parameter message.ruben2016-10-221-0/+35
|
* add messages for interpolated string error and repeated modifier errorSebastian Harko2016-10-211-0/+47
|
* Improved error messages in Desugar.scalaShane Delmore2016-10-191-1/+83
|
* explanation for error message related to use of early definitionsSebastian Harko2016-10-161-0/+44
|
* Add Levenshtein distance for member values and typesFelix Mulder2016-10-101-3/+68
|
* Remove unnecessary printing of hints for `-explain`Felix Mulder2016-10-101-5/+8
|
* Insert message "inline" into multiline code at pointFelix Mulder2016-10-103-29/+25
|
* Get rid of unnecessary fields in `MessageContainer`Felix Mulder2016-10-104-35/+26
|
* Improve positions for MemberDefs using `namePos`Felix Mulder2016-10-103-10/+26
|
* Handle multiline messages in ConsoleReporterFelix Mulder2016-10-101-18/+28
|
* Make reporter hint about existing explanationsFelix Mulder2016-10-101-1/+4
|
* Change Message#errorId to type IntFelix Mulder2016-10-103-11/+16
|
* Improve documentation for message frameworkFelix Mulder2016-10-102-8/+46
|
* Get rid of `kind` in `MessageContainer`Felix Mulder2016-10-104-40/+36
|