[Issue 4886] Template (alias) tuple parameters cannot take .length property in compiletime
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 22 22:05:08 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4886
--- Comment #2 from Shin Fujishiro <rsinfu at gmail.com> 2010-09-22 22:04:28 PDT ---
Created an attachment (id=764)
Patch against dmd r680, fixes resolveHelper()
This patch fixes the reported issue and bug 2953 (D2). It passed dmd, druntime
and phobos tests.
The patch also fixes the following problems:
--------------------
struct R
{
alias int T;
}
struct S
{
R r;
alias r this;
}
S.T x; // (10)
int[S.r.offsetof] y; // (11)
--------------------
% dmd -o- -c test.d
test.d(10): Error: S.T is used as a type
test.d(11): Error: no property 'offsetof' for type 'R'
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list