Skip to content

module Crystal::SubclassObservable

Temporary type to recompute calls when a subclass is added to a type hierarchy. This shouldn't be needed, because the type hierarchy is now computed in a first pass, but for generic types, instantiations are considered as kind of subclasses, and calls must be recomputed to take them into account (but this should change in the future).

Direct including types

Crystal::ClassType Crystal::GenericClassInstanceType Crystal::GenericModuleInstanceType Crystal::NonGenericModuleType

Methods

#add_subclass_observer(observer)

View source

#notify_subclass_added

View source

#remove_subclass_observer(observer)

View source