I am getting the following message:
Warning: struct SumType has method toHash, however it cannot be called with const(SumType!(A,B,C)) this
Could someone point in the right direction to understand what I am doing that causes this?
July 11, 2021 Sumtype warning | ||||
---|---|---|---|---|
| ||||
I am getting the following message: Could someone point in the right direction to understand what I am doing that causes this? |
July 11, 2021 Re: Sumtype warning | ||||
---|---|---|---|---|
| ||||
Posted in reply to JG | On Sunday, 11 July 2021 at 09:20:23 UTC, JG wrote: >I am getting the following message: Could someone point in the right direction to understand what I am doing that causes this? The two restrictions on toHash are
So the problem is one of
|