https://issues.dlang.org/show_bug.cgi?id=14035

--- Comment #11 from Kenji Hara <[email protected]> ---
(In reply to Kenji Hara from comment #9)
> and disallow conversions beyond the categories for non-polymorphic literals
> (eg. `4` type with uint).

Of course, even inside same category, loss of precision should also be
disallowed.

eg. A implicit conversion from a floating literal `3.14` typed real to int will
loss the precision, so it should be disallowed.

--

Reply via email to