Fix for regression in testX11_bindingInheritance1
(also isolated into new test4516_inheritedBaseCall1):
* move copying of synth meth/fields from generateCode() to establishByteCodePrepared()
  this ensures that super role has all synthetics before generateCode() starts
* ensure that local types are correctly recorded
  (otherwise this patch caused regressions in test4511_basecallInAnonymousObject4 et al)
3 files changed