Compiler version
3.3.1
Minimized code
enum Test:
case A
Test.A.hashCode
Scastie
Output
The outputted value changes for each run. Most likely the hashCode is being computed from the memory position.
Expectation
The hashCode should be stable across multiple JVMs.