[Issue 10503] Octal enums don't work anymore

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 29 12:14:33 PDT 2013


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


Adam D. Ruppe <destructionator at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator at gmail.com


--- Comment #3 from Adam D. Ruppe <destructionator at gmail.com> 2013-06-29 12:14:31 PDT ---
octal isn't even a function, I thought. It uses a helper function internally,
but in the end does an

template octal(s) {
   enum octal = helper(s);
}

so calling it on the outside world isn't right - octal!100 should be an int
literal.

-- 
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