aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
Commit message (Collapse)AuthorAgeFilesLines
* Names are no longer SeqsMartin Odersky2017-04-111-2/+3
| | | | | | | | Drop Seq implementation of name. This implementation was always problematic because it entailed potentially very costly conversions to toSimpleName. We now have better control over when we convert a name to a simple name.
* Get rid of ExpandedName flagMartin Odersky2017-04-111-2/+3
|
* Bug fixesMartin Odersky2017-04-111-1/+2
| | | | nameddefaults.scala now compiles without crashing
* Handle printing of term paramrefsMartin Odersky2017-04-101-1/+1
| | | | These were not printed before, fell back to toString method.
* Rename PolyTypeTree -> LambdaTypeTreeMartin Odersky2017-04-061-2/+2
|
* Rename PolyParam --> TypeParamRefMartin Odersky2017-04-061-1/+1
|
* New flag -Ydebug-alias to never follow aliases when printing typesGuillaume Martres2017-03-161-1/+1
|
* Add checks for synthetic functions and erased functions.Nicolas Stucki2017-02-131-2/+1
| | | | | | | | * Add `isSyntheticFunction` checks for synthetic functions such as FuntionN for N > 22 and ImplicitFunctionN for N >= 0. * Add `erasedFunctionClass` to get the erased verion of synthetic functions. * Change the semantics of `isFunctionClass` to return true if it is any kind of FunctionN or ImplicitFunctionN.
* 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.
* fix #1626: inconsistent names in -Xprintliu fengyun2017-02-021-1/+1
|
* Refactor function operations in DefinitionsMartin Odersky2016-12-171-3/+4
| | | | | | | | | Also: show implicit function types correctly. Also: refine applications of implicit funcitons - don't do it for closure trees - don't do it after typer.
* Better printing of import symbolsMartin Odersky2016-12-011-5/+3
| | | | | Had duplications of `import` before. Also: add import info when printing contexts.
* -Ytest-pickler: homogenize template body output orderGuillaume Martres2016-11-221-1/+14
|
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+652