applay for template function with sumtypes result?

kiriakov itcraft.letter at gmail.com
Tue Jul 4 14:19:26 UTC 2023


On Tuesday, 4 July 2023 at 12:43:19 UTC, Steven Schveighoffer 
wrote:
> On 7/4/23 12:58 AM, kiriakov wrote:

> It looks like a type mismatch. The function accepted should 
> return `Result` but it's returning `ParsResult`.
>
> -Steve
That's the problem

Result(T) = SumType!(ParsResult!T, Err!T)



More information about the Digitalmars-d-learn mailing list