aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Constants.scala
Commit message (Collapse)AuthorAgeFilesLines
* Add recursive calls to classBoundMartin Odersky2016-07-161-2/+2
| | | | As observed by @smarter, makes sense to do this.
* Fix: #1366, constant adaptationMartin Odersky2016-07-081-4/+11
| | | | | Fix: #1366. Constant adaptation did not work if the expected type was an as yet uninstantiated type variable.
* Shorten ..Class.typeRef to ..TypeMartin Odersky2015-11-091-11/+11
| | | | | Since we now have two forms of (almost) everything in Definitions, might as well profit from it.
* New constraint handlingMartin Odersky2015-01-181-1/+1
| | | | | | | | New constraint handling scheme using constraints that distinguish more between parameter and non-parameter bounds and which track parameter bounds separately. This allows a co-inductive formulation of satisfiability checking without fishy cyclicity checks. It should also scale better for long chains of dependent type variables.
* Typos corrected.Dmitry Petrashko2014-03-031-1/+1
| | | | | More verbose assertions. Unnecessary semicolons removed.
* More robust constant foldingMartin Odersky2014-02-031-2/+7
| | | | Can now also convert a constant to a type that's lower-bounded by a primitive numeric type.
* Renaming: typeConstructor -> typeRefMartin Odersky2013-11-221-11/+11
|
* Refactored Printing architecture.Martin Odersky2013-05-171-1/+2
| | | | | Split printers into several files. Added refined printing of trees. Changed Showable and generalized printing under a precedence.
* Refactored Printers, Showable and Text into new package dotc.printing.Martin Odersky2013-05-141-1/+1
|
* Pretty-printing improvements.Martin Odersky2013-03-201-1/+1
|
* Some refinements for priningMartin Odersky2013-03-071-1/+1
| | | | Made trees printable in plain mode (refined mode still missing).
* Integration of ConstantsMartin Odersky2013-02-091-4/+214
|
* Initial commitMartin Odersky2012-12-061-0/+12