Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | Refine mergeEntries | Martin Odersky | 2016-10-11 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If entries are type variables, we have to check their instances for equality. This came up onder the new or handling scheme. | |||||
* | | | | | | Handle feature interaction between subtyping or types and hk types | Martin Odersky | 2016-10-11 | 1 | -2/+12 | |
| | | | | | | ||||||
* | | | | | | Keep or types | Martin Odersky | 2016-10-11 | 5 | -82/+110 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't replace them by their dominators, unless one of the following holds: - language:Scala2 mode is on - we are at the point of findMember selection - we compare with a higher-kinded application This means approximateUnion is now split into harmonizeUnion and orDominator which each implement one of the former's two functionalities. | |||||
* | | | | | | Change default of unsafe Config option | Martin Odersky | 2016-10-11 | 1 | -2/+6 | |
| | | | | | | ||||||
* | | | | | | Reformatting to avoid a long line | Martin Odersky | 2016-10-11 | 1 | -1/+4 | |
| | | | | | | ||||||
* | | | | | | Fix non-sensical code | Martin Odersky | 2016-10-11 | 1 | -1/+4 | |
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | Replacing or types by their dominators and implicit conversions caused the code to do the right thing anyway, but with the arrival of true or-types, this became a static error. | |||||
* | | | | | Merge pull request #1521 from felixmulder/topic/better-errormessages | Felix Mulder | 2016-10-10 | 33 | -330/+1085 | |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Operation beautify error messages | |||||
| * | | | | Add Levenshtein distance for member values and types | Felix Mulder | 2016-10-10 | 2 | -4/+71 | |
| | | | | | ||||||
| * | | | | Remove unnecessary printing of hints for `-explain` | Felix Mulder | 2016-10-10 | 2 | -6/+9 | |
| | | | | | ||||||
| * | | | | Fix TreeChecker mismatch string | Felix Mulder | 2016-10-10 | 1 | -4/+5 | |
| | | | | | ||||||
| * | | | | Change `typeDiff` to highlight changes less than 50% | Felix Mulder | 2016-10-10 | 2 | -11/+16 | |
| | | | | | ||||||
| * | | | | Insert message "inline" into multiline code at point | Felix Mulder | 2016-10-10 | 6 | -36/+38 | |
| | | | | | ||||||
| * | | | | Correct line extraction from SourcePosition | Felix Mulder | 2016-10-10 | 2 | -14/+12 | |
| | | | | | ||||||
| * | | | | Get rid of unnecessary fields in `MessageContainer` | Felix Mulder | 2016-10-10 | 5 | -37/+26 | |
| | | | | | ||||||
| * | | | | Improve positions for MemberDefs using `namePos` | Felix Mulder | 2016-10-10 | 9 | -30/+66 | |
| | | | | | ||||||
| * | | | | Handle multiline messages in ConsoleReporter | Felix Mulder | 2016-10-10 | 3 | -19/+40 | |
| | | | | | ||||||
| * | | | | Make reporter hint about existing explanations | Felix Mulder | 2016-10-10 | 1 | -1/+4 | |
| | | | | | ||||||
| * | | | | Change Message#errorId to type Int | Felix Mulder | 2016-10-10 | 3 | -11/+16 | |
| | | | | | ||||||
| * | | | | Improve documentation for message framework | Felix Mulder | 2016-10-10 | 3 | -10/+48 | |
| | | | | | ||||||
| * | | | | Get rid of `kind` in `MessageContainer` | Felix Mulder | 2016-10-10 | 5 | -41/+40 | |
| | | | | | ||||||
| * | | | | Fix TypeMismatch not getting nonsensical tags in some cases | Felix Mulder | 2016-10-10 | 2 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | Thanks @smarter! | |||||
| * | | | | Don't force Message twice in MessageContainer | Felix Mulder | 2016-10-10 | 2 | -2/+2 | |
| | | | | | ||||||
| * | | | | Fix reporting of ErrorTypes in highlighted segments | Felix Mulder | 2016-10-10 | 7 | -33/+45 | |
| | | | | | ||||||
| * | | | | Make `typeDiff` aware of placeholder types | Felix Mulder | 2016-10-10 | 2 | -21/+38 | |
| | | | | | ||||||
| * | | | | Refactor explanation interpolator | Felix Mulder | 2016-10-10 | 7 | -69/+120 | |
| | | | | | ||||||
| * | | | | Unrainbow syntax highlighting | Felix Mulder | 2016-10-10 | 1 | -1/+3 | |
| | | | | | ||||||
| * | | | | Add basic diffing for shown values | Felix Mulder | 2016-10-10 | 1 | -3/+25 | |
| | | | | | ||||||
| * | | | | Fix multiple parsing errors on e.g. `try 1` | Felix Mulder | 2016-10-10 | 1 | -3/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `CompilingInterpreter` will on a single compile run, make multiple parsings of the given line(s). This results in multiple warnings from the parser. As such, clear the warnings until the actual compile is performed. | |||||
| * | | | | Indent 2 after newline in REPL | Felix Mulder | 2016-10-10 | 2 | -5/+4 | |
| | | | | | ||||||
| * | | | | Better operator highlighting | Felix Mulder | 2016-10-10 | 1 | -4/+5 | |
| | | | | | ||||||
| * | | | | Fix underline position | Felix Mulder | 2016-10-10 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Improve syntax highlighting on polymorphic defs | Felix Mulder | 2016-10-10 | 1 | -2/+5 | |
| | | | | | ||||||
| * | | | | Add deprecation message on `with` type operator | Felix Mulder | 2016-10-10 | 2 | -48/+78 | |
| | | | | | ||||||
| * | | | | Improve syntax highlighting for ValDefs | Felix Mulder | 2016-10-10 | 1 | -17/+37 | |
| | | | | | ||||||
| * | | | | Remove duplication of console reporters | Felix Mulder | 2016-10-10 | 5 | -141/+82 | |
| | | | | | ||||||
| * | | | | Make relevant parts of compiler conform to new error handling | Felix Mulder | 2016-10-10 | 18 | -334/+313 | |
| | | | | | ||||||
| * | | | | Make `FancyConsoleReporter` and `Highlighting` obey color setting | Felix Mulder | 2016-10-10 | 6 | -47/+64 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fancy console reporter and the string interpolator for highlighting now obey the color setting - this means that the next step towards unifying the reporters is to make sure the tests work with `FancyConsoleReporter` under the `-color:never` flag. | |||||
| * | | | | Add modifiers to highlighting | Felix Mulder | 2016-10-10 | 6 | -41/+49 | |
| | | | | | ||||||
| * | | | | Add `MissingIdent` message to `Typer` | Felix Mulder | 2016-10-10 | 1 | -2/+3 | |
| | | | | | ||||||
| * | | | | Factor out explanation header to Reporter | Felix Mulder | 2016-10-10 | 7 | -42/+77 | |
| | | | | | ||||||
| * | | | | Add coloring util | Felix Mulder | 2016-10-10 | 1 | -0/+60 | |
| | | | | | ||||||
| * | | | | Complete better structure to diagnostic messages | Felix Mulder | 2016-10-10 | 15 | -150/+198 | |
| | | | | | ||||||
| * | | | | Refactor common error messages to `diagnostic.basic` | Felix Mulder | 2016-10-10 | 8 | -44/+118 | |
| | | | | | ||||||
| * | | | | Rename Diagnostic to diagnostic.Message | Felix Mulder | 2016-10-10 | 9 | -50/+67 | |
| | | | | | ||||||
| * | | | | Add ability to choose between fancy and non-fancy output | Felix Mulder | 2016-10-10 | 5 | -61/+110 | |
| | | | | | ||||||
| * | | | | Rename `ConsoleReporter` => `FancyConsoleReporter` | Felix Mulder | 2016-10-10 | 4 | -5/+5 | |
| | | | | | ||||||
| * | | | | Add error kind to diagnostic | Felix Mulder | 2016-10-10 | 4 | -33/+23 | |
| | | | | | ||||||
| * | | | | Add smart comment formatting in ConsoleReporter | Felix Mulder | 2016-10-10 | 1 | -7/+65 | |
| | | | | | ||||||
| * | | | | Add missing star in docstring | Felix Mulder | 2016-10-10 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Change layout of ErrorMessages | Felix Mulder | 2016-10-10 | 7 | -120/+135 | |
| | | | | |