digitalmars.D.bugs - [Issue 7642] New: opDispatch with AA crashes dmd
- d-bugmail puremagic.com (35/35) Mar 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7642
- d-bugmail puremagic.com (11/11) Mar 04 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7642
http://d.puremagic.com/issues/show_bug.cgi?id=7642
Summary: opDispatch with AA crashes dmd
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: zan77137 nifty.com
This code crashes dmd:
struct Foo
{
int[int] foo;
}
struct Bar
{
Foo xxx;
template opDispatch(string name)
{
property auto ref opDispatch(this X, V)(auto ref V v) { return
mixin("xxx."~name~" = v"); }
}
}
void main()
{
Bar bar;
bar.foo[0] = 0;
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 03 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7642
Kenji Hara <k.hara.pg gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
*** This issue has been marked as a duplicate of issue 7578 ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 04 2012








d-bugmail puremagic.com