Since we use `gotos` to transpile switch statements we need to throw if used in 5.1
Since we use
gotosto transpile switch statements we need to throw if used in 5.1