You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of just copying the methods from a included trait T into a class C, a hidden class T' should be created, and inserted as a subclass of C. Other included traits will be inserted as subclasses of T'. Finally, by modifying the global class dictionary, the last included T' is swapped with C, so that it appears in place of the original C.
The text was updated successfully, but these errors were encountered:
Instead of just copying the methods from a included trait T into a class C, a hidden class T' should be created, and inserted as a subclass of C. Other included traits will be inserted as subclasses of T'. Finally, by modifying the global class dictionary, the last included T' is swapped with C, so that it appears in place of the original C.
The text was updated successfully, but these errors were encountered: