module Crystal::SubclassObservable

Overview

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

Defined in:

compiler/crystal/types.cr

Instance Method Summary

Instance Method Detail

def add_subclass_observer(observer) #

[View source]
def notify_subclass_added #

[View source]
def remove_subclass_observer(observer) #

[View source]