[Issue 550] Shifting by more bits than size of quantity is allowed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 18 05:02:04 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=550
smjg at iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg at iname.com
Keywords| |accepts-invalid
------- Comment #1 from smjg at iname.com 2006-11-18 07:02 -------
If the right operand is a variable, it probably makes more sense from an
efficiency POV to allow it. If it's a compile-time constant, the compiler
could easily catch the error. However, I'm beginning to think such a
restriction may interfere with generic programming.
--
More information about the Digitalmars-d-bugs
mailing list