[Issue 12063] No line number error on uninitialized enum member if base type is not incrementable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 9 19:59:28 PDT 2014


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice                         |diagnostic
            Summary|[ICE](interpret.c line 310) |No line number error on
                   |With enum of structs        |uninitialized enum member
                   |                            |if base type is not
                   |                            |incrementable

--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
With  git-head, ICE does not occur.

Error: no property 'max' for type 'Foo'
test.d(7): Error: incompatible types for ((Foo()) + (1)): 'Bar' and 'int'

Change the summary and keywords.

--


More information about the Digitalmars-d-bugs mailing list