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



--- Comment #21 from Andrej Mitrovic <[email protected]> 2013-02-12 
17:38:45 PST ---
(In reply to comment #20)
> One test case to try:
> 
> 
> import std.bigint, std.random;
> 
> enum Foo : BigInt {
>     zero = BigInt(0),
>     one =  BigInt(1)
> }
> 
> void main() {
>     auto x = uniform!Foo();
> }

It works. It should actually work with any enum base types, since the only
requirement is that the type is an enum.

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

Reply via email to