January 08, 2015 [Issue 13953] New: AA .remove pseudo-method doesn't work via alias this | ||||
---|---|---|---|---|
| ||||
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. -- |
Copyright © 1999-2021 by the D Language Foundation