[Issue 16478] Don't allow to!T() in constraint
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Nov 12 04:31:46 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16478
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
Assignee|nobody at puremagic.com |nick at geany.org
Summary|Confusing internal error |Don't allow to!T() in
|message with |constraint
|std.variant.visit |
Severity|normal |minor
--- Comment #1 from Nick Treleaven <nick at geany.org> ---
PR pending. The error is because A.length can be zero:
T to(A...)(A args) if (!isRawStaticArray!A)
--
More information about the Digitalmars-d-bugs
mailing list