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

           Summary: Octal enums don't work anymore
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2013-06-29 10:47:52 PDT ---
CODE:
=============================
import std.conv;
enum {
    A = octal!"2000000",
    B = octal!"4000"
}

void main() {
}
=============================

DMD git HEAD:
=============================
test.d(4): Error: cannot implicitly convert expression (octal) of type pure
nothrow @property @safe int() to pure nothrow @property @safe int()
=============================

git bisect shows that the offending commit was
88ebe192d605bd8d4b5768e8a2500f54d73fb5fd

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

Reply via email to