aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * InSuperCall is always passed explicitly.Martin Odersky2015-04-071-1/+0
| | | | | | | | | | | | There were spurious InSuperCall flag due to the implicit addition of InSuperCall in normalizeFlags. This addition is not necessary, because inSuperCall is serialized.
| * Produce expanded names.Martin Odersky2015-04-077-15/+32
| | | | | | | | | | In the absence of semantic names, this is kludgey. But we need to do it because otherwise the ExpandedName flag is not correctly set.
| * Better homogenized types for testing the picklerMartin Odersky2015-04-071-4/+9
| | | | | | | | | | Will now also re-normalize And/OrTypes because sometimes they were not yet normalized before pickling.
| * Reduced coverage of twice testsMartin Odersky2015-04-071-7/+7
| | | | | | | | | | | | | | | | ... in order to save some time. On my laptop: Without twice: 175sec With full twice as in last commit: 220sec With reduced twice: 188sec
| * Test stillValid at initial phase, revive -twiceMartin Odersky2015-04-072-60/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | stillValid should always be tested at the phase where the initial denotation is defined. If we do not do this we get false stale symbol errors. Here is a scenario: To `bringForward` `Predef$$ArrowAsscoc`, we check whether its initial denotation has an owner which contains the denotation as one of its members. But if we do this at a later phase (e.g. GenBCode), the owner of the initial denotation is Predef, but Predef no longer contains ArraoAssoc - it lost the member at flatten. With this fix we can run everything with -twice, except dotc_core. I left a comment what goes wrong there.
| * Cleanup of installAfterMartin Odersky2015-04-071-10/+9
| | | | | | | | | | Same functionality achieved in a simpler way. Also, make sure initial works for stale denotations that refer to some other cycle.
| * Cleanup of import list in JavaPlatformMartin Odersky2015-04-071-3/+2
| | | | | | | | | | | | The previous one caused a spurious error - I had compiled the config classes into the config directory, resulting in a dotty directory in config. My mistake, not the previous import list's. Still the new imports are much cleaner.
| * Avoid reading symbol's denotation before overwriting them in UnpicklerMartin Odersky2015-04-071-29/+29
| | | | | | | | | | | | Previous version read a prevDenot denotation of a potential root symbol. If it then went on to replace the symbol instead the old one was already read and polluted the caches, similar to what happens in last commit.
| * Use invalidateInheritedSymbols instead of syncWithParentsMartin Odersky2015-04-073-17/+29
|/ | | | | | | | | | syncWithParents explores the denotations of symbols that might yet to be entered in the current run. If such a symbol is looked at in a new run before a new one is entered, the validty period of the old denotation is extended to the new run and consequently references to that symbol do not know they need to reload. This pollutes the cache of references and causes StaleSymbol errors down the line. Replacing with invalidateInheritedSymbols avoids the problem.
* Merge pull request #463 from dotty-staging/dotc-scalac-updateDmitry Petrashko2015-04-041-1/+1
|\ | | | | Update dotc script with latest version of scalac
| * Update dotc script to use scalac 2.11.5-20150402-193021-0c75410da3Dmitry Petrashko2015-04-041-1/+1
|/
* Merge pull request #455 from dotty-staging/backend-annotationsDmitry Petrashko2015-04-033-12/+180
|\ | | | | Backend: emit annotations
| * Backend: emit all annotations.Dmitry Petrashko2015-04-031-18/+43
| |
| * Backend: Emmit simple annotationsDmitry Petrashko2015-04-033-12/+155
| |
* | Merge pull request #459 from dotty-staging/fix/toString-stubDmitry Petrashko2015-04-032-2/+5
|\ \ | |/ |/| Fixed test failure for core_pickling.
| * Fixed test failure for core_pickling.Martin Odersky2015-04-032-2/+5
|/ | | | | When reading external symbols from class Object, need to consider members of Any as well.
* Merge pull request #406 from dotty-staging/inner-classesodersky2015-04-033-9/+20
|\ | | | | Emit inner classes table.
| * Update version of scalac fork.Dmitry Petrashko2015-04-021-1/+1
| |
| * Handle inner classes defined in suppercalls.Dmitry Petrashko2015-04-022-1/+4
| |
| * Emit inner classes table.Dmitry Petrashko2015-04-021-7/+15
| |
* | Merge pull request #457 from dotty-staging/ycheckallodersky2015-04-031-1/+2
|\ \ | | | | | | Fix #451: support -Ycheck:all.
| * | Fix #451: support -Ycheck:all.Dmitry Petrashko2015-04-031-1/+2
| |/
* | Merge pull request #416 from dotty-staging/pickler-modularDmitry Petrashko2015-04-034-11/+43
|\ \ | |/ |/| Populate addresses of symbols, types and trees after pickler
| * Address reviewer comments on #416Dmitry Petrashko2015-04-033-11/+22
| |
| * Review of #394Dmitry Petrashko2015-03-182-2/+2
| |
| * Populate addresses of symbols after picklerDmitry Petrashko2015-03-183-1/+10
| | | | | | | | To allow other phases to generate their info.
| * Update address maps of symbols after compactionDmitry Petrashko2015-03-181-1/+9
| |
| * Export pickler and pickled addresses so that other phases can pickle their infoDmitry Petrashko2015-03-182-6/+10
| |
* | Merge pull request #436 from dotty-staging/linked-classDmitry Petrashko2015-04-0215-37/+158
|\ \ | | | | | | use methods to find companion class
| * | Simplify methods implemented in #436Dmitry Petrashko2015-04-023-18/+15
| | |
| * | Revert "Workaround #440 in FirstTransform."Dmitry Petrashko2015-04-021-2/+2
| | | | | | | | | | | | This reverts commit b653007ed0f30298b44dcc67bf032c1d2d58bcaf.
| * | Both module and class being unpickled need to register links.Dmitry Petrashko2015-03-301-4/+10
| | |
| * | Fix #443, set moduleClass of class being lazily unpickled.Dmitry Petrashko2015-03-301-1/+5
| | |
| * | Allow to enter private symbols into Frozen scopes.Dmitry Petrashko2015-03-301-1/+1
| | | | | | | | | | | | As private symbols aren't inherited, this does not break caching.
| * | companionModule needs to return ModuleVal for Module.Dmitry Petrashko2015-03-301-6/+8
| | |
| * | Do not synthesizeCompanionMethod twice, and do not rewrite the existing symbol.Dmitry Petrashko2015-03-301-5/+11
| | |
| * | Fix #442.Dmitry Petrashko2015-03-301-2/+6
| | | | | | | | | | | | | | | | | | | | | There's a non-standard interaction between explicitOuter and Pattern matcher, as patmat can request outer symbols to be available earlier. Note that this fix makes code between pattern matcher & explicitOuter non-Ycheck-able, as patmat adds reference to future symbol.
| * | Fix #440: entering symbol into scope also enters it into future scopes.Dmitry Petrashko2015-03-302-3/+9
| | |
| * | Workaround #440 in FirstTransform.Dmitry Petrashko2015-03-301-2/+2
| | |
| * | Fix companion_class_method nameDmitry Petrashko2015-03-301-1/+1
| | |
| * | Use methods to find companion modulesDmitry Petrashko2015-03-282-16/+12
| | |
| * | Make companion-module links in ClassfileParserDmitry Petrashko2015-03-281-2/+8
| | |
| * | Make companion-module links in UnPicklerDmitry Petrashko2015-03-281-1/+6
| | |
| * | Guard against absent symbols in synthesizeCompanionMethod.Dmitry Petrashko2015-03-281-1/+1
| | |
| * | Remove code duplication between Namer, ClassfileParser and UnPicklerDmitry Petrashko2015-03-265-36/+21
| | |
| * | Fix error message in typerDmitry Petrashko2015-03-261-1/+1
| | |
| * | #435 Fix conflict between package object and case class with same nameDmitry Petrashko2015-03-264-4/+6
| | |
| * | Add late companion symbols in firstTransformDmitry Petrashko2015-03-261-2/+14
| | |
| * | Add companion link symbols early only if companion actually existsDmitry Petrashko2015-03-262-17/+48
| | | | | | | | | | | | Otherwise we'll trigger early creation of companions that could shadow something.
| * | Fix installAfter for a Denotation List of single denotationDmitry Petrashko2015-03-261-1/+5
| | |