With 4.1.7 at -O1 (the default) I tried:
System.println(:foo == :foo);
System.println(:foo != :foo);
and got "false, true" as output. That looked wrong, so I tried:
var x = :foo;
System.println(x == x);
System.println(x != x);
and got...