Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Test stillValid at initial phase, revive -twice | Martin Odersky | 2015-04-07 | 2 | -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 installAfter | Martin Odersky | 2015-04-07 | 1 | -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 JavaPlatform | Martin Odersky | 2015-04-07 | 1 | -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 Unpickler | Martin Odersky | 2015-04-07 | 1 | -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 syncWithParents | Martin Odersky | 2015-04-07 | 3 | -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-update | Dmitry Petrashko | 2015-04-04 | 1 | -1/+1 | |
|\ | | | | | Update dotc script with latest version of scalac | |||||
| * | Update dotc script to use scalac 2.11.5-20150402-193021-0c75410da3 | Dmitry Petrashko | 2015-04-04 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #455 from dotty-staging/backend-annotations | Dmitry Petrashko | 2015-04-03 | 3 | -12/+180 | |
|\ | | | | | Backend: emit annotations | |||||
| * | Backend: emit all annotations. | Dmitry Petrashko | 2015-04-03 | 1 | -18/+43 | |
| | | ||||||
| * | Backend: Emmit simple annotations | Dmitry Petrashko | 2015-04-03 | 3 | -12/+155 | |
| | | ||||||
* | | Merge pull request #459 from dotty-staging/fix/toString-stub | Dmitry Petrashko | 2015-04-03 | 2 | -2/+5 | |
|\ \ | |/ |/| | Fixed test failure for core_pickling. | |||||
| * | Fixed test failure for core_pickling. | Martin Odersky | 2015-04-03 | 2 | -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-classes | odersky | 2015-04-03 | 3 | -9/+20 | |
|\ | | | | | Emit inner classes table. | |||||
| * | Update version of scalac fork. | Dmitry Petrashko | 2015-04-02 | 1 | -1/+1 | |
| | | ||||||
| * | Handle inner classes defined in suppercalls. | Dmitry Petrashko | 2015-04-02 | 2 | -1/+4 | |
| | | ||||||
| * | Emit inner classes table. | Dmitry Petrashko | 2015-04-02 | 1 | -7/+15 | |
| | | ||||||
* | | Merge pull request #457 from dotty-staging/ycheckall | odersky | 2015-04-03 | 1 | -1/+2 | |
|\ \ | | | | | | | Fix #451: support -Ycheck:all. | |||||
| * | | Fix #451: support -Ycheck:all. | Dmitry Petrashko | 2015-04-03 | 1 | -1/+2 | |
| |/ | ||||||
* | | Merge pull request #416 from dotty-staging/pickler-modular | Dmitry Petrashko | 2015-04-03 | 4 | -11/+43 | |
|\ \ | |/ |/| | Populate addresses of symbols, types and trees after pickler | |||||
| * | Address reviewer comments on #416 | Dmitry Petrashko | 2015-04-03 | 3 | -11/+22 | |
| | | ||||||
| * | Review of #394 | Dmitry Petrashko | 2015-03-18 | 2 | -2/+2 | |
| | | ||||||
| * | Populate addresses of symbols after pickler | Dmitry Petrashko | 2015-03-18 | 3 | -1/+10 | |
| | | | | | | | | To allow other phases to generate their info. | |||||
| * | Update address maps of symbols after compaction | Dmitry Petrashko | 2015-03-18 | 1 | -1/+9 | |
| | | ||||||
| * | Export pickler and pickled addresses so that other phases can pickle their info | Dmitry Petrashko | 2015-03-18 | 2 | -6/+10 | |
| | | ||||||
* | | Merge pull request #436 from dotty-staging/linked-class | Dmitry Petrashko | 2015-04-02 | 15 | -37/+158 | |
|\ \ | | | | | | | use methods to find companion class | |||||
| * | | Simplify methods implemented in #436 | Dmitry Petrashko | 2015-04-02 | 3 | -18/+15 | |
| | | | ||||||
| * | | Revert "Workaround #440 in FirstTransform." | Dmitry Petrashko | 2015-04-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | This reverts commit b653007ed0f30298b44dcc67bf032c1d2d58bcaf. | |||||
| * | | Both module and class being unpickled need to register links. | Dmitry Petrashko | 2015-03-30 | 1 | -4/+10 | |
| | | | ||||||
| * | | Fix #443, set moduleClass of class being lazily unpickled. | Dmitry Petrashko | 2015-03-30 | 1 | -1/+5 | |
| | | | ||||||
| * | | Allow to enter private symbols into Frozen scopes. | Dmitry Petrashko | 2015-03-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | As private symbols aren't inherited, this does not break caching. | |||||
| * | | companionModule needs to return ModuleVal for Module. | Dmitry Petrashko | 2015-03-30 | 1 | -6/+8 | |
| | | | ||||||
| * | | Do not synthesizeCompanionMethod twice, and do not rewrite the existing symbol. | Dmitry Petrashko | 2015-03-30 | 1 | -5/+11 | |
| | | | ||||||
| * | | Fix #442. | Dmitry Petrashko | 2015-03-30 | 1 | -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 Petrashko | 2015-03-30 | 2 | -3/+9 | |
| | | | ||||||
| * | | Workaround #440 in FirstTransform. | Dmitry Petrashko | 2015-03-30 | 1 | -2/+2 | |
| | | | ||||||
| * | | Fix companion_class_method name | Dmitry Petrashko | 2015-03-30 | 1 | -1/+1 | |
| | | | ||||||
| * | | Use methods to find companion modules | Dmitry Petrashko | 2015-03-28 | 2 | -16/+12 | |
| | | | ||||||
| * | | Make companion-module links in ClassfileParser | Dmitry Petrashko | 2015-03-28 | 1 | -2/+8 | |
| | | | ||||||
| * | | Make companion-module links in UnPickler | Dmitry Petrashko | 2015-03-28 | 1 | -1/+6 | |
| | | | ||||||
| * | | Guard against absent symbols in synthesizeCompanionMethod. | Dmitry Petrashko | 2015-03-28 | 1 | -1/+1 | |
| | | | ||||||
| * | | Remove code duplication between Namer, ClassfileParser and UnPickler | Dmitry Petrashko | 2015-03-26 | 5 | -36/+21 | |
| | | | ||||||
| * | | Fix error message in typer | Dmitry Petrashko | 2015-03-26 | 1 | -1/+1 | |
| | | | ||||||
| * | | #435 Fix conflict between package object and case class with same name | Dmitry Petrashko | 2015-03-26 | 4 | -4/+6 | |
| | | | ||||||
| * | | Add late companion symbols in firstTransform | Dmitry Petrashko | 2015-03-26 | 1 | -2/+14 | |
| | | | ||||||
| * | | Add companion link symbols early only if companion actually exists | Dmitry Petrashko | 2015-03-26 | 2 | -17/+48 | |
| | | | | | | | | | | | | Otherwise we'll trigger early creation of companions that could shadow something. | |||||
| * | | Fix installAfter for a Denotation List of single denotation | Dmitry Petrashko | 2015-03-26 | 1 | -1/+5 | |
| | | | ||||||
| * | | Add companion class methods for files read from scala & java | Dmitry Petrashko | 2015-03-25 | 2 | -0/+20 | |
| | | | ||||||
| * | | #353 use methods to find companion class | Dmitry Petrashko | 2015-03-25 | 4 | -14/+49 | |
| | | | ||||||
* | | | Merge pull request #452 from ↵ | Dmitry Petrashko | 2015-04-02 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | | | | | | | | | dotty-staging/fixTTM-structural-sharing-between-classes Fix TreeTypeMap and mapSymbols to create a copy of decls for duplicated classes. | |||||
| * | | | Fix TreeTypeMap and mapSymbols to create a copy of decls for duplicated classes. | Dmitry Petrashko | 2015-04-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this fix the duplicated classes and the original ones share the same reference to a scope, instead of having each a separate one. @alexsikia this should fix your problems |