Whoa, the Dotty extension method syntax has gotten all goofy:
def (c: Circle) circumference: Double
instead of the C# style
def circumference(this c: Circle) : Double
We have a precedent for non-LTR declarations-before-usages in Scala 2 in dependently-typed context bounds. Though I agree that LTR declarations-then-usage would be a nice invariant to have.
-
-
Don't worry, anyone who cares about stuff like this has left
#Scala by now anyway.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.