Fixed scope related issues and improved stubs generation.
Fixed
- Fixed duplicate definition with GCC 10
ice/framework#266
- Fixed initialization of object properties with default values when
the object is an instance of a child class
#2089
Changed
- Improved stubs generation for methods which may return object or null
#2092