Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
September 19, 2006 [Issue 355] New: ICE from enum : nonexistent type | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=355 Summary: ICE from enum : nonexistent type Product: D Version: 0.167 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-invalid-code Severity: minor Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: jpelcis@gmail.com If there is only one element, this will not give the compiler problems. -------------------- enum foo : type { blah1, blah2 } -------------------- dmd -run test test.d(1): identifier 'type' is not defined test.d(1): type is used as a type test.d(1): enum test.foo base type must be of integral type, not void Assertion failure: '0' on line 160 in file 'enum.c' abnormal program termination -- |
September 30, 2006 [Issue 355] ICE from enum : nonexistent type | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=355 ------- Comment #2 from deewiant@gmail.com 2006-09-30 09:44 ------- Also happens if the base type is void: enum foo : void { a, b } -- |
October 02, 2006 Re: [Issue 355] ICE from enum : nonexistent type | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail Attachments: | d-bugmail@puremagic.com schrieb am 2006-09-30: > http://d.puremagic.com/issues/show_bug.cgi?id=355 > ------- Comment #2 from deewiant@gmail.com 2006-09-30 09:44 ------- > Also happens if the base type is void: > > enum foo : void { a, b } Added to DStress as http://dstress.kuehne.cn/nocompile/e/enum_47_L.d Thomas |
November 25, 2006 [Issue 355] ICE from enum : nonexistent type | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=355 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #4 from bugzilla@digitalmars.com 2006-11-25 03:49 ------- Fixed DMD 0.175 -- |
Copyright © 1999-2021 by the D Language Foundation