[Issue 12042] New: "CTFE internal error: Dotvar assignment" with template method and "with"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 30 06:33:26 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12042
Summary: "CTFE internal error: Dotvar assignment" with template
method and "with"
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: CTFE, ice, rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: thecybershadow at gmail.com
--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-01-30 16:33:22 EET ---
struct S
{
int[] t;
void m()()
{
t = null;
}
}
int f()
{
S s;
with (s)
m!()();
return 0;
}
enum e = f();
--
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