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
I chose the name SpaceAroundSingletonClassOperator rather than
SpaceAroundSingletonInheritence, which was suggested in the feature
request. Although I'm not sure that << is actually an operator, I am pretty
sure that inheritance is not involved. The operator (for lack of a better term)
opens up the singleton class, or eigenclass, so methods can be added to it.
Is your feature request related to a problem? Please describe.
One could write
which isn't as readable as adding spaces around the
<<
operator:Describe the solution you'd like
There should be a layout cop that checks whether there are spaces around the
<<
operator for singleton class inheritence.Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: