I've noticed this claim, that Haskell's type system prevents all bugs, eg at:
https://www.costarastrology.com/why-haskell/
And when they say it prevents all bugs and has no illegal states they seem to mostly mean it has ADTs.
But who is keeping me from having bugs in my numeric code? Not Haskell, making you type "fromIntegral" doesn't prevent bugs. Idris or Ada, maybe.