On May 9, 2016 1:27 PM, "Alex Harui" <aha...@adobe.com> wrote: > > > I would not be in favor of actually copying constants since it would add > to bloat. I'd rather work on inlining constants and looking up the chain > at compile-time to find values to inline. >
Inlining constants would only work correctly for strings and numbers, so the expression type would have to be checked at compile time before inlining. Alternatively it could simply assign a matching const in the subclass to the value retrieved from the superclass.