refInt = ref int: how to achieve this? or is this a bug?
Stanislav Blinov
stanislav.blinov at gmail.com
Thu Jun 18 14:20:04 UTC 2020
On Thursday, 18 June 2020 at 14:16:51 UTC, Steven Schveighoffer
wrote:
> Three lines up:
> https://github.com/dlang/phobos/blob/master/std/range/package.d#L918
>
> // This doesn't work yet
>
> I don't think it will ever work.
>
> -Steve
Yup, it's just a bug in the parser. You can even do a
alias wow = ref override abstract final scope static __gshared
int;
Still gonna be an int tho.
More information about the Digitalmars-d
mailing list