[Issue 10561] New: Regression (2.064 HEAD): anon enum members no longer have enum base type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jul 6 15:39:51 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10561
Summary: Regression (2.064 HEAD): anon enum members no longer
have enum base type
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-07-06 15:39:50 PDT ---
-----
enum : ubyte
{
GL_FALSE = 0,
GL_TRUE = 1,
}
void main()
{
static assert(is(typeof(GL_TRUE) == ubyte));
}
-----
2.063:
$ dmd test.d
>
2.064 git-head:
$ dmd test.d
> test.d(11): Error: static assert (is(int == ubyte)) is false
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list