(GEP-113) Include inherited variables when resolving parameters

The specification says that parameter default value expressions
may reference variables defined by the inherited class. This
commit ensures that such references are resolved correctly.