Skip to content

Conversation

@mattjphillips
Copy link
Contributor

Per discussion in #379, the optimization for property expression generation was too optimistic: it assumed that the base class implements the property, but that's not necessarily the case -- it could be in some ancestor that isn't the base. The optimization is therefore removed.

Ideally we'd walk up the inheritance chain at expression generation time to find the appropriate class and use that, but the penalty for prototype access should be minimal.

nikhilk added a commit that referenced this pull request Jun 19, 2013
Remove problematic optimization for local base class properties.
@nikhilk nikhilk merged commit 4bf7585 into nikhilk:cc Jun 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants