aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Periods.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix #95: Phases now have their own periods.Dmitry Petrashko2014-03-271-0/+2
|
* Rename methods on FreshContext to make mutation obviousDmitry Petrashko2014-03-271-1/+1
| | | | And avoid name clashes
* Fix context.withPhaseMartin Odersky2014-03-271-1/+1
| | | | | | Previous version was wrong because every context is a fresh context at runtime, so the overriding version would always be executed, which means that withPhase becomes a side-effecting operation!
* Allow MiniPhase to be DenotTransformerDmitry Petrashko2014-03-191-2/+4
| | | | | | All MiniPhases now as are full-fledged phases, and are given their own periods and can register DenotTransformers. MiniPhases belonging to same group(list) will be squashed to single phase.
* Refactored denotation transformersMartin Odersky2014-03-181-9/+5
| | | | | | | | Many small and large changes. Added samplePhase to demonstrate functionality. To test functioning, run the compiler with args tests/pos/uncurry.scala -Ylog:sample,terminal
* Renaming core.Transformer(s) -> core.DenotTransformer(s)Martin Odersky2014-03-181-1/+1
| | | | To bring in line with TreeTransformer terminology.
* Reorg of info transformer frameworkMartin Odersky2014-03-181-1/+1
|
* New scheme for attachments.Martin Odersky2014-02-111-0/+1
| | | | | | | Added general way to put attachments on some base type (which needs to inherit from Attachment.Container). Used it to turn typedTree map into an attachment. Also, moved DotClass to dotc.util.
* Making definitions permanentMartin Odersky2013-08-171-1/+1
| | | | Need to ensure that specially generated symbols in definitions are valid forever; otherwise they would disappear after first run.
* Various bugfixes for namer/typer/treesMartin Odersky2013-08-161-3/+3
|
* First steps to make compiler start work.Martin Odersky2013-03-111-4/+24
| | | | Still fighting with CyclicReference errors.
* more docs.Martin Odersky2013-02-281-15/+21
| | | | Plus renamed NullSignature -> NotAMethod
* Filling in all ???sMartin Odersky2013-02-271-5/+5
| | | | | | | Added reporters. Added context for signatures. Implemented method signatures via erasure. Refined derivedNameType handling.
* New Context architecture based on cloningMartin Odersky2013-01-291-13/+3
|
* Changed NamedType dereferencing so that we need not keep track of name ↵Martin Odersky2013-01-211-1/+4
| | | | validity periods. Instead, we simply retry on missing member lookup in an earlier phase. This scheme is less complicated and works as long as names that are renamed in phase A are not re-used in a phase B >= A.
* Made Period a value class.Martin Odersky2013-01-131-42/+65
|
* Postulate intersection method for intervals.Martin Odersky2013-01-121-3/+5
|
* (1) Moved logic from ClassDenotation to ClassInfoType. (2) Tweaks to other ↵Martin Odersky2012-12-181-0/+4
| | | | types. (3) FlagSet is now a value class.
* Initial commitMartin Odersky2012-12-061-0/+99