slang
slang copied to clipboard
Use of == when the result is not consumed should be an error
For whatever reason we tend to have bugs due to code like this
foo.bar == SOMETHING;
It is valid, but doesn't do the right thing ... It will be nice if this can be compiler error, or at least to have a compiler option to make at a compiler error.