You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hashCode for instances of Symbol changes across JVM invocations (similar to behavior of None in #4752). Here is what I see:
$ scala
Welcome to Scala version 2.9.1.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_26).
Type in expressions to have them evaluated.
Type :help for more information.
scala> 'mysymbol.hashCode
res0: Int = 1606987090
scala> 'mysymbol.hashCode
res1: Int = 1606987090
$ scala
Welcome to Scala version 2.9.1.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_26).
Type in expressions to have them evaluated.
Type :help for more information.
scala> 'mysymbol.hashCode
res0: Int = 1340276317
scala> 'mysymbol.hashCode
res1: Int = 1340276317
The text was updated successfully, but these errors were encountered:
The hashCode for instances of Symbol changes across JVM invocations (similar to behavior of None in #4752). Here is what I see:
The text was updated successfully, but these errors were encountered: