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
Compound types can consist of several object types and they may have a single refinement which can be used to narrow the signature of existing object members.
75
75
The general form is: `A with B with C ... { refinement }`
76
76
{% endtab %}
77
-
{% tab 'Scala 3' for=compound-types_2 %}
77
+
{% tab 'Scala 3' for=compound-types_3 %}
78
78
This compound type is written like this in Scala: `Cloneable & Resetable`.
0 commit comments