digitalmars.D.learn - std.signals: Why emit() not extist?
- Marcone (2/2) Dec 30 2021 I get this error: Error: undefined identifier `emit`, did you
- Bastiaan Veelo (3/5) Dec 30 2021 Did you `import std.signals`?
- Adam D Ruppe (7/9) Dec 30 2021 You need to call it on the signal.
I get this error: Error: undefined identifier `emit`, did you mean function `exit`?
Dec 30 2021
On Thursday, 30 December 2021 at 19:13:10 UTC, Marcone wrote:I get this error: Error: undefined identifier `emit`, did you mean function `exit`?Did you `import std.signals`? — Bastiaan.
Dec 30 2021
On Thursday, 30 December 2021 at 19:13:10 UTC, Marcone wrote:I get this error: Error: undefined identifier `emit`, did you mean function `exit`?You need to call it on the signal. class A { mixin Signal thing; } A a = new A; a.thing.emit();
Dec 30 2021