aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/parsing/JavaParsers.scala
Commit message (Collapse)AuthorAgeFilesLines
* Simplify syntaxMartin Odersky2017-04-041-2/+2
| | | | `enum' only allowed as a prefix of classes, dropped from traits and objects.
* Remove uses of Collections from scala-reflectGuillaume Martres2017-03-081-2/+1
|
* Represent untyped operators as Ident instead of NameGuillaume Martres2017-02-051-1/+1
| | | | | | | | This has two advantages: - We can distinguish BackquotedIdent from Ident, allowing the user to use a defined "type `&`", see testcase. - We get better positions for the operators. This is useful in IDEs, for example to get the type at point.
* Make errors are not swept under the carpetMartin Odersky2016-12-171-1/+2
| | | | | | | | | Typer#ensureReported's comment outlines an example where errors could go unreported, resulting in error trees after typer without any reported error messages. This commit makes sure that at least one error is reported if a tree node has an error type. Fixes #1802.
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+898