digitalmars.D.bugs - [Issue 13953] New: AA .remove pseudo-method doesn't work via alias
- via Digitalmars-d-bugs (30/30) Jan 08 2015 https://issues.dlang.org/show_bug.cgi?id=13953
https://issues.dlang.org/show_bug.cgi?id=13953 Issue ID: 13953 Summary: AA .remove pseudo-method doesn't work via alias this Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: thecybershadow gmail.com /////// test.d /////// struct S { string[string] aa; alias aa this; } void main() { S s; s["foo"] = "bar"; s.remove("foo"); } ////////////////////// I did not find a "remove" method or UFCS-function in object.di/object_.d, so I guess it's still a compiler intrinsic. --
Jan 08 2015