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
Welcome to Scala version 2.10.3 (JavaHotSpot(TM) 64-BitServerVM, Java1.6.0_45).
Type in expressions to have them evaluated.
Type:help for more information.
scala>objectA {
|traitB|traitC {self: B=>}
| }
defined module A
scala>traitAlias {
|typeB=A.B|typeC=A.C| }
defined traitAlias
scala>newAlias { newC{} }
res0:Alias= $anon$1@5636bc0a
The text was updated successfully, but these errors were encountered:
Below code compiles:
The text was updated successfully, but these errors were encountered: