Thread overview
[Issue 8962] std.variant.Algebraic should support duplicate types
Apr 09, 2017
tetyys@tetyys.com
Dec 17, 2022
Iain Buclaw
April 09, 2017
https://issues.dlang.org/show_bug.cgi?id=8962

tetyys@tetyys.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tetyys@tetyys.com

--- Comment #1 from tetyys@tetyys.com ---
> As std.variant.Algebraic implements a bounded discriminated union, it should allow for duplicate types

Algebraic data type restricts to a closed set of possible types, how is it gonna restrict it to same type twice? I think the actual bug here is that Algebraic doesn't say anything when you pass two same types into it. But it still restricts storage to that one type normally.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=8962

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

--
December 01
https://issues.dlang.org/show_bug.cgi?id=8962

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/9941

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--