Stormtrooper2001 wrote
Every function has its own set of static variables. Class2.set can't overwrite the static segment of Class1. This isn't covered in much detail in the course.
The way they expect us to do it is s follows:
Push static 0 in the Class1 function will push the value into a variable named class1.0 and the same line in Class2 will push the value into a variable named class2.0
If you are doing the course on Coursera this is covered in video 1.5 starting about 13:00
This is likely a typo, but it isn't that every function has its own set of static variables, but that every .vm file has its own set.