Via #scala, an existence proof that { val a = e; a } != { e } https://gist.github.com/tpolecat/aff4cc261be547fe2409 …
@tpolecat @extempore2 But could we eliminate this confusing behavior without losing the useful cases? Don't bother asking me to cite one.
-
-
@propensive@extempore2 can't think of one ... to me a closing paren/brace means "I'm done." Syntactic elaboration should respect my wishes. -
@tpolecat The expected return type very often usefully helps type inference; but not sure any with a "bare" block are *that* compelling...
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.