On Monday, August 13, 2012 9:25:44 AM UTC+2, Erik Dalén wrote:
>
> When you inherit from a class the class you inherit from is evaluated
> first, which is why it is able to set the parameter defaults for the
> "subclass".
>
> So when those if statements in foo::params are evaluated the class f
When you inherit from a class the class you inherit from is evaluated
first, which is why it is able to set the parameter defaults for the
"subclass".
So when those if statements in foo::params are evaluated the class foo
simply haven't been evaluated yet, so you can't reference any
variables in i