[Issue 10722] New: Regression (2.064 git-head): Cannot interpret struct at compile-time
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jul 27 12:51:14 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10722
Summary: Regression (2.064 git-head): Cannot interpret struct
at compile-time
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-07-27 12:51:13 PDT ---
-----
struct Struct
{
int x;
}
template GetSomething(S...)
{
alias GetSomething = int;
}
void main()
{
alias X = GetSomething!(Struct.tupleof[0]);
}
-----
> Error: Cannot interpret Struct at compile time
--
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