@avibryant @tpolecat Here's how I would model returning the current type in Scala:https://gist.github.com/odersky/56323c309a186cffe9af …
-
-
-
.
@odersky without a true MyType@tpolecat's argument still stands: fish or fowl? https://gist.github.com/milessabin/ec45f1ada07d3d3029b8 …. /cc@avibryant -
.
@milessabin@odersky@tpolecat@avibryant this would catch your Chicken: trait Pet { self => type This >: self.type <: Pet } -
@leo_grimaldi yes, but it also prohibits returning anything other than "this". /cc@odersky@tpolecat@avibryant
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.