https://issues.dlang.org/show_bug.cgi?id=15083
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=15083
--- Comment #4 from John Colvin ---
(In reply to Marc Schütz from comment #3)
> (In reply to John Colvin from comment #2)
> > You can definitely declare variables with Voldemort types.
> >
> > e.g.
> > auto foo(){ struct S{} return S(); }
> > void b
https://issues.dlang.org/show_bug.cgi?id=15083
--- Comment #3 from Marc Schütz ---
(In reply to John Colvin from comment #2)
> You can definitely declare variables with Voldemort types.
>
> e.g.
> auto foo(){ struct S{} return S(); }
> void bar(){ typeof(foo()) a; }
>
> is fine.
>
That's not
https://issues.dlang.org/show_bug.cgi?id=15083
--- Comment #2 from John Colvin ---
(In reply to Marc Schütz from comment #1)
> (In reply to John Colvin from comment #0)
> > This uses phobos, but I'm pretty sure typeof should work here so it's a dmd
> > bug.
>
> typeof itself _does_ work, this co
https://issues.dlang.org/show_bug.cgi?id=15083
Marc Schütz changed:
What|Removed |Added
CC||schue...@gmx.net
--- Comment #1 from Marc Schü