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();
Adam D Ruppe via Digitalmars-d-learn Thu, 30 Dec 2021 11:56:06 -0800
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();