Calling .asInstanceOf without a type parameter really is the filthiest trick I know.
@djspiewak @oxnrtr It's particularly useful when you know the complex part of the type will go away with erasure anyway.
-
-
@propensive@djspiewak@oxnrtr Can't make it work in 2.10.2... What is supposed to be the trick? -
@pedrofurla@propensive@djspiewak@oxnrtr can't find an example where the compiler doesn't infer Nothing, e.g. https://gist.github.com/SethTisue/6444477 … - Show replies
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.