Fixes Issue 6668 - Avoid throwing collateral exceptions in std.conv.to
Merge pull request #1081 from AndrejMitrovic/Fix6668

Issue 6668 - Avoid throwing collateral exceptions in std.conv.to