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





------- Comment #2 from and...@metalanguage.com  2009-04-30 08:12 -------
(In reply to comment #1)
> I'm not sure allowing that alias is a good idea, as ref int and int still name
> the same type. If that alias worked, wouldn't you expect
> 
> alias ref int rint;
> int i = 3;
> rint ri = i;
> ri = 4;
> assert(i == 4);
> 

The ref would be only effective in a function signature. This can be done (I
discussed it with Walter). The problem is, Walter has a lot on his plate
already. Yet that doesn't make my code look any better :o).


-- 

Reply via email to