summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-04-24 12:22:44 -0700
committerPaul Phillips <paulp@improving.org>2013-04-24 14:50:59 -0700
commit8448beb2ad6346d1d04a1feedb3de4d77f61024d (patch)
tree9af420493d843ab9d225b24d17104c057a299cc6 /CONTRIBUTING.md
parent2e0079e870911ed64c3b959fd5500ee316c936d7 (diff)
downloadscala-8448beb2ad6346d1d04a1feedb3de4d77f61024d.tar.gz
scala-8448beb2ad6346d1d04a1feedb3de4d77f61024d.tar.bz2
scala-8448beb2ad6346d1d04a1feedb3de4d77f61024d.zip
SI-6943 warn on value class miscomparison.
There's a very dangerous situation running around when you combine universal equality with value classes: // All over your code val x = "abc" if (x == "abc") ... // Hey let's make x a value class val x = new ValueClass("abc") // Uh-oh There was until now no warning when comparing a value class with something else. Now there is.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions