The people voted to restrict the number of foreigners that can go in the country which is against the treaty of free movement that Switzerland signed with the EU which probably (it has been a while since I looked up the consequences) make lots if not all the other treaties that Switzerland and the EU signed invalid. For example the EU is threatening to cut research funding among other stuff like partnership in space exploration...
The people that were against the law didn't think it would pass and didn't really fight against it and now Switzerland and the EU have until the end of year to agree on something. I wonder how it will pan out... Maybe a revote ? You probably didn't understand the consequences of this law. Are you sure you want this ?