[Issue 18091] "Error instantiating" cumulativeFold when passing a function inside another function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 1 17:51:33 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=18091
berni44 <bugzilla at d-ecke.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at d-ecke.de
--- Comment #2 from berni44 <bugzilla at d-ecke.de> ---
With the help of dustmite I got this down to:
template foo(T...)
{
static void bar()
{
T[0];
}
}
void main()
{
void t() {}
foo!t();
}
Don't know, if this helps anybody... The variadic argument seems to matter
somehow.
--
More information about the Digitalmars-d-bugs
mailing list