Thread overview
[Issue 19842] std.signals Segfault when connecting with a lambda
Jun 07
Dlang Bot
Jun 08
Dlang Bot
Jun 08
Dlang Bot
Jul 13
Dlang Bot
6 days ago
Dlang Bot
3 days ago
Dlang Bot
April 12
https://issues.dlang.org/show_bug.cgi?id=19842

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=16203

--
June 07
https://issues.dlang.org/show_bug.cgi?id=19842

Ajieskola@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ajieskola@gmail.com

--- Comment #1 from Ajieskola@gmail.com ---
Lambda is a delegate in this context. I'm testing with v2.096.0 release canditate and latest Phobos.

This bug does not trigger only with lambda, it triggers with any delegate that is not a class member function.

The documentation does warn that the delegates must be class delegates, but it does not say that that they must be member function pointers. This needs to be clarified, or preferably it should be made to work with non-member-function delegates too.

--
June 07
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dukc created dlang/phobos pull request #8137 "Issue 19842 - only class member functions must be used be used as slots" mentioning this issue:

- Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8137

--
June 08
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dukc created dlang/phobos pull request #8139 "Issue 19842 - only class member functions must be used be used as slots" mentioning this issue:

- Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8139

--
June 08
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dukc created dlang/phobos pull request #8140 "Issue 19842 - only class member functions must be used be used as slots" mentioning this issue:

- Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8140

--
July 13
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #8140 "Issue 19842 - only class member functions must be used be used as slots" was merged into stable:

- 235d3ba9bedf8cd7a9f697231b03f37bac9fd7d3 by Ate Eskola:
  Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8140

--
6 days ago
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MartinNowak created dlang/phobos pull request #8172 "merge stable" mentioning this issue:

- Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8172

--
3 days ago
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #8172 "merge stable" was merged into master:

- 06983381cf824cfae7b8a77d29b0b2fa8fe13c6f by Ate Eskola:
  Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8172

--