I'm attempting to verify a hashset but I've run into a problem with my insert method.
I don't understand why I'm getting the "call may violate context's modifies clause" error when I uncomment the inserts in main. I believe it to be something to do with the use of fresh, but I'm unclear on how / where to do this.
Code can be found at : https://rise4fun.com/Dafny/9UDG