Only after that do you use gradual deployment, with a big red oopsie button which immediately rolls the changes back. Languages with strong type systems won't save you, good procedure will.
Neither will seatbelts if you drive into the ocean, or helmets if you drink poison. I'm not sure what your point is.