D-Programming-Language/dmd — pull request #671 by yebblies (2012-02-01 04:11:41+00:00)
Title: Issue 4958 - Floating point enums should check for total loss of precision

This is Don's fix from the bug report. Issue an error if last+1 == last when assigning values to enum members.

http://d.puremagic.com/issues/show_bug.cgi?id=4958