Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
September 03, 2012 [Issue 8613] New: std.typecons.Proxy cannot work with operator 'in' | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8613 Summary: std.typecons.Proxy cannot work with operator 'in' Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: cpunion@gmail.com --- Comment #0 from Li Jie <cpunion@gmail.com> 2012-09-02 19:20:38 PDT --- --- code import std.typecons; struct Name { this(string value) { value_ = value; } mixin Proxy!(value_); private string value_; } void main() { bool[Name] names; names[Name("a")] = true; bool* b = (Name("a") in names); } --- --- compiler output $ dmd testproxy.d /usr/local/Cellar/dmd/2.060/src/phobos/std/typecons.d(2659): Error: cannot implicitly convert expression (this.value_) of type string to Name testproxy.d(16): Error: template instance testproxy.Name.Proxy!(value_).opBinary!("in",Name,bool[Name]) error instantiating --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 05, 2013 [Issue 8613] std.typecons.Proxy cannot work with operator 'in' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Li Jie | http://d.puremagic.com/issues/show_bug.cgi?id=8613 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-05 08:46:22 PST --- *** Issue 9407 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 12, 2013 [Issue 8613] std.typecons.Proxy cannot work with operator 'in' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Li Jie | http://d.puremagic.com/issues/show_bug.cgi?id=8613 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-03-11 20:42:59 PDT --- https://github.com/D-Programming-Language/phobos/pull/1200 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 12, 2013 [Issue 8613] std.typecons.Proxy cannot work with operator 'in' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Li Jie | http://d.puremagic.com/issues/show_bug.cgi?id=8613 --- Comment #3 from github-bugzilla@puremagic.com 2013-03-11 22:05:49 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/89c0c186020db5097a3716aaf9e6dfd129b938fb fix Issue 8613 - std.typecons.Proxy cannot work with operator 'in' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 12, 2013 [Issue 8613] std.typecons.Proxy cannot work with operator 'in' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Li Jie | http://d.puremagic.com/issues/show_bug.cgi?id=8613 Alex Rønne Petersen <alex@lycus.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |alex@lycus.org Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation