Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

un-deprecate :nofail? #141

Open
SethTisue opened this issue Feb 8, 2017 · 5 comments
Open

un-deprecate :nofail? #141

SethTisue opened this issue Feb 8, 2017 · 5 comments

Comments

@SethTisue
Copy link
Contributor

SethTisue commented Feb 8, 2017

over at scala/docs.scala-lang#675 I wanted to write e.g.

val x = 1  // compiles
x = 2      // doesn't compile

I wanted to use tut:fail but I can't because not everything in the block fails, only the last thing fails.

@tpolecat suggested using :nofail instead, but it's deprecated. maybe this is a valid use case for it that would justify un-deprecating it? perhaps renaming it at the same time? to, uh, I don't know, :failsome or something.

@tpolecat
Copy link
Owner

tpolecat commented Feb 8, 2017

It's deprecated in the sense that it seemed like a mistake at the time. But if it's useful (and it seems to be) then yes let's un-deprecate it.

@dwijnand
Copy link

dwijnand commented Feb 8, 2017

tut:somefailsomenot :^)

@SethTisue
Copy link
Contributor Author

tut:¯\_(ツ)_/¯
tut:winsomelosesome

I'm here all night.

@tpolecat
Copy link
Owner

tpolecat commented Feb 8, 2017

@SethTisue assuming it does the right thing for you I'm happy removing the deprecation language from the readme.

@metasim
Copy link
Contributor

metasim commented Aug 31, 2017

I had a case where I found it useful as well, along the lines of @SethTisue 's example.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants