I've mentioned this before, but now I'm submitting it here.
//---------------
struct foo {}
void main()
{
foo f1;
foo *f2;
with (f1) {} // works
with (*f2) {} // works
with (f2) {} // doesn't work
}
//---------------
It would be nice if the last line also worked.
Comment #1 by andrei — 2008-09-20T17:44:17Z
(In reply to comment #0)
> I've mentioned this before, but now I'm submitting it here.
>
> //---------------
> struct foo {}
>
> void main()
> {
> foo f1;
> foo *f2;
> with (f1) {} // works
> with (*f2) {} // works
> with (f2) {} // doesn't work
> }
> //---------------
>
> It would be nice if the last line also worked.
>
Bumping this as an oversight.