aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/CompilationUnit.scala
Commit message (Collapse)AuthorAgeFilesLines
* Allow unpickler to be accessible after FromTastyDmitry Petrashko2015-12-201-1/+3
|
* Pickling modularization reorgMartin Odersky2015-05-021-2/+1
| | | | | | | The pickling package got rather large and confusing with three separate tasks that each had their own conventions: read JVM classfiles, read Scala2 pickle info, read Tasty. The classes for each task are now in separate packages.
* Move addrOfTree, addOfSym from CompilationUnit to Pickler.Martin Odersky2015-04-281-14/+0
| | | | | These only exist if there was a pickler, and they are not unique per CompilationUnit.
* Maintain source files in pickled infoMartin Odersky2015-04-281-3/+3
| | | | | | | So far: Only one source file is recorded. Should evaluate whether more are needed. Will programs composed from several source files be pickled? They will certainly be generated after inlining, but maybe all that happens after pickling?
* Produce one TASTY pickling per top-level class.Martin Odersky2015-04-241-2/+2
| | | | | | | If a unit has several top-level classes or object (which are not linked classes of each other) each gets its own pickle information, which contains any enclosing package clauses and imports and then just the top-level class/object and its companion object.
* Make all Dotty source files end in newline.Dmitry Petrashko2015-04-091-1/+1
|
* Address reviewer comments on #416Dmitry Petrashko2015-04-031-2/+17
|
* Populate addresses of symbols after picklerDmitry Petrashko2015-03-181-0/+4
| | | | To allow other phases to generate their info.
* Export pickler and pickled addresses so that other phases can pickle their infoDmitry Petrashko2015-03-181-1/+5
|
* Save pickled bytes in compilation unitMartin Odersky2015-03-181-0/+2
|
* New subtype constraint maintenance algorithm.Martin Odersky2014-01-071-1/+0
| | | | | | | | | | Objective: Avoid cycles by detecting all cases where A <: B and B <: A and removing those cases by unifuing A and B. Cycles need to be avoided because they lead to deep subtype recursions.
* Defined root context with importsMartin Odersky2013-08-171-0/+2
| | | | … and cleaned up and simplified other context-reated features.
* Integrated parser/typer into compilerMartin Odersky2013-08-141-0/+15
Some initial bug fixes. Added -explaintypes diagnostics.