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


Henning Pohl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #1 from Henning Pohl <[email protected]> 2013-06-29 11:37:12 
PDT ---
You need to execute octal by using parentheses:

import std.conv;

enum {
    A = octal!"2000000"(),
    B = octal!"4000"()
}

void main() {
}

As the compiler has mentioned, what you have actually been doing is passing
functions instead of their result when executed.

What you could possibly do to avoid these parentheses is using eponymous
templates.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to