Try this:
class Foo { def toString()(implicit x: NotFound) = null }
new Foo().toString
/cc @runarorama @extempore2 @copumpkin
Given @implicitNotFound("You can't call toString!") trait NotFound
@runarorama @extempore2 @copumpkin
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Given @implicitNotFound("You can't call toString!") trait NotFound
@runarorama @extempore2 @copumpkin