::Real is an alias for ::CannotConvert - CannotConvert is used only when converting from an Inf or NaN to an Int, and in all other numeric conversions, ::Real is used (which is mostly Complex to a Real)
These should be merged into a single exception type, which looks like it was the intent in
::Real is an alias for ::CannotConvert - CannotConvert is used only when converting from an Inf or NaN to an Int, and in all other numeric conversions, ::Real is used (which is mostly Complex to a Real)
These should be merged into a single exception type, which looks like it was the intent in
https://github.com/rakudo/rakudo/commit/2e7265282694dc65daa81aee61dbbde8e8d103f1