Code Review: NestedTypes4

tfpt review “/shelveset:NestedTypes4;REDMOND\tomat”
Comment :
(NestedTypes4)

DLR, Python:
Removes ModuleGlobalWrapper from DLR - it’s not used. Moves
ModuleGlobalCache from DLR to Python.
A bit of TypeGroup refactoring.

Ruby:

Adds support from nested types to Ruby - they are exposed as constants
on the declaring type. Also implements removal of namespace member and
nested type constants.

Fixes a bug in autoload - the constant being loaded was removed on a
wrong module.
Improves displaying of generic types and type groups:
RubyContext.GetClassName returns a name of the class without generic
parameters or runtime id. RubyContext.GetClassDisplayName includes both
(runtime id only for classes from foreign runtime). The latter is used
for displaying errors and for object inspection.

Ruby test driver: Restores console foreground color to the previous
value each time it’s changed.

Tomas

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs