[Issue 3720] Taking address of member functions possible without an instance

2023-05-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 --- Comment #28 from RazvanN --- *** Issue 17315 has been marked as a duplicate of this issue. *** --

[Issue 3720] Taking address of member functions possible without an instance

2023-05-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 --- Comment #27 from Bolpat --- Given ```d struct T { ref int memFunc(return ref int i) return @safe immutable { return i; } } ``` I guess the only reasonable thing `typeof(&T.memFunc)` could be is: ```d ref int function(return ref immutable T, re

[Issue 3720] Taking address of member functions possible without an instance

2023-03-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 RazvanN changed: What|Removed |Added CC||schue...@gmx.net --- Comment #26 from RazvanN ---

[Issue 3720] Taking address of member functions possible without an instance

2023-03-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Max Samukha changed: What|Removed |Added CC||maxsamu...@gmail.com --- Comment #25 from Max S

[Issue 3720] Taking address of member functions possible without an instance

2023-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 --- Comment #24 from Bolpat --- @Zombine(In reply to ZombineDev from comment #18) > […] > > 2. After deprecation period is finished, reintroduce the > &. but with different semantics: retunring a > delegate with context pointer set to null. Why? If

[Issue 3720] Taking address of member functions possible without an instance

2023-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 dlang+iss...@me.tracemymail.com changed: What|Removed |Added CC|dlang+issues@me.tracemymail | |.com

[Issue 3720] Taking address of member functions possible without an instance

2022-12-12 Thread d-bugmail--- via Digitalmars-d-bugs
--- @RazvanN7 created dlang/dmd pull request #14688 "Fix Issue 3720 - Taking address of member functions possible without an instance" fixing this issue: - Fix Issue 3720 - Taking address of member functions possible without an instance https://github.com/dlang/dmd/pull/14688 --

[Issue 3720] Taking address of member functions possible without an instance

2022-12-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 RazvanN changed: What|Removed |Added CC||to...@weka.io --- Comment #22 from RazvanN --- ***

[Issue 3720] Taking address of member functions possible without an instance

2022-12-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com Severity|normal

[Issue 3720] Taking address of member functions possible without an instance

2022-12-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 --- Comment #20 from RazvanN --- *** Issue 17080 has been marked as a duplicate of this issue. *** --

[Issue 3720] Taking address of member functions possible without an instance

2022-12-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 RazvanN changed: What|Removed |Added CC||e...@weka.io --- Comment #19 from RazvanN --- ***

[Issue 3720] Taking address of member functions possible without an instance

2021-01-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com --

[Issue 3720] Taking address of member functions possible without an instance

2020-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 ZombineDev changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Issue 3720] Taking address of member functions possible without an instance

2018-03-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 --- Comment #17 from FeepingCreature --- Right, but I think it's more of a syntax issue. Taking the address of a member function without a this pointer may in rare cases be useful, but I don't see what purpose it serves that we're able to take the add

[Issue 3720] Taking address of member functions possible without an instance

2018-03-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 3720] Taking address of member functions possible without an instance

2018-01-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 MichaelZ changed: What|Removed |Added CC||dlang@bregalad.de --

[Issue 3720] Taking address of member functions possible without an instance

2018-01-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 FeepingCreature changed: What|Removed |Added CC||default_357-l...@yahoo.de --- Comment #15 f

[Issue 3720] Taking address of member functions possible without an instance

2017-12-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 --- Comment #14 from Steven Schveighoffer --- (In reply to Mike Franklin from comment #13) > > My preference would be to embed in the type of the function pointer, the > > fact that it takes a hidden context pointer. Then the compiler can disallow > >

[Issue 3720] Taking address of member functions possible without an instance

2017-12-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 --- Comment #13 from Mike Franklin --- > My preference would be to embed in the type of the function pointer, the > fact that it takes a hidden context pointer. Then the compiler can disallow > simply calling it without stuffing it into a delegate. I

[Issue 3720] Taking address of member functions possible without an instance

2017-12-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@yahoo.com --- Comment #12 fr

[Issue 3720] Taking address of member functions possible without an instance

2017-12-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 --- Comment #11 from Mike Franklin --- A little more information about this issue and the test case: struct S { int a; void fun() { this.a = 1; } } void main() { auto fp = &S.fun; fp(); } There may be 2 schools of

[Issue 3720] Taking address of member functions possible without an instance

2017-12-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Mike Franklin changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 3720] Taking address of member functions possible without an instance

2017-12-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Mike Franklin changed: What|Removed |Added CC||slavo5...@yahoo.com See Also|

[Issue 3720] Taking address of member functions possible without an instance

2017-12-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Mike Franklin changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 3720] Taking address of member functions possible without an instance

2017-01-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 --- Comment #10 from Marenz --- helpful info: The type of `fun` in the provided example is `void function ( )` --

[Issue 3720] Taking address of member functions possible without an instance

2017-01-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Ketmar Dark changed: What|Removed |Added CC||ket...@ketmar.no-ip.org --

[Issue 3720] Taking address of member functions possible without an instance

2017-01-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Sprink changed: What|Removed |Added CC||dl...@supradigital.org --- Comment #9 from Sprink -

[Issue 3720] Taking address of member functions possible without an instance

2016-10-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Walter Bright changed: What|Removed |Added Keywords||safe CC|

[Issue 3720] Taking address of member functions possible without an instance

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 Andrei Alexandrescu changed: What|Removed |Added Version|D1 & D2 |D2 --

[Issue 3720] Taking address of member functions possible without an instance

2014-12-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 nick changed: What|Removed |Added CC||nicolas.jincher...@gmail.co |

[Issue 3720] Taking address of member functions possible without an instance

2014-12-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3720 yebblies changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #8 from yeb

[Issue 3720] Taking address of member functions possible without an instance

2014-02-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3720 yebblies changed: What|Removed |Added CC||destructiona...@gmail.com --- Comment #7 f

[Issue 3720] Taking address of member functions possible without an instance

2012-10-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3720 yebblies changed: What|Removed |Added CC||wfunct...@hotmail.com --- Comment #6 from y

[Issue 3720] Taking address of member functions possible without an instance

2012-01-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3720 yebblies changed: What|Removed |Added AssignedTo|nob...@puremagic.com|yebbl...@gmail.com --- Comment #5 from yebb

[Issue 3720] Taking address of member functions possible without an instance

2012-01-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3720 yebblies changed: What|Removed |Added Keywords||accepts-invalid CC|

[Issue 3720] Taking address of member functions possible without an instance

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3720 yebblies changed: What|Removed |Added CC||suicide...@xited.de --- Comment #3 from yeb

[Issue 3720] Taking address of member functions possible without an instance

2011-06-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3720 yebblies changed: What|Removed |Added CC||rayerd@gmail.com --- Comment #2 from ye

[Issue 3720] Taking address of member functions possible without an instance

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3720 yebblies changed: What|Removed |Added CC||raphael.lond...@gmail.com --- Comment #1 fr