Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Harden outer proxy computation of inlined code | Martin Odersky | 2017-02-19 | 1 | -0/+20 |
It turns out that we simply cannot do reliable outer path computation that fills in the right hand sides of this-proxies from the types of these proxies. As-seen-from logic can mangle the types of proxies enough to scramble the necessary information. What we now do instead is simply count: We record the number of outer accesses to an outer this in inlineable code, and do the same number of outer accesses when computing the proxy. |