[Issue 1407] auto type inference on new const(Class)() doesn't infer const

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 11 10:56:14 PDT 2007


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





------- Comment #2 from baryluk at mpi.int.pl  2007-08-11 12:56 -------
(In reply to comment #1)
> invariant(auto) b = new const(A)()

Should be:
const(auto) b = new invariant(A)()


-- 



More information about the Digitalmars-d-bugs mailing list