[Issue 11632] Old alias syntax accepts "ref"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 28 07:46:42 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11632
Maxim Fomin <maxim at maxim-fomin.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |maxim at maxim-fomin.ru
--- Comment #1 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-11-28 07:46:39 PST ---
More nonsense:
alias ref int ri;
//alias in int ii;
alias int oi;
//alias lazy int li;
//alias out int outi;
alias pure int pi;
alias @safe int si;
//alias trusted int ti;
alias nothrow int nthi;
alias auto int ai;
alias @property int pri;
alias @disable int di;
alias scope int sci;
alias align(16) int ali;
alias abstract int absi;
alias final int fi;
alias override int ovi;
alias inout int inoui;
alias synchronized int syi;
alias static int stati;
It is unclear however, whether this is a part of major accepts-invalid bug (dmd
is permissive in allowing to apply attributes to declarations, so here is
particular case) or defficiency in old alias syntax parsing.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list