[Issue 23235] [DIP1000] Inconsistent error messages for typesafe variadic parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jul 24 01:13:54 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23235
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
Equivalent test case that does not import all of Phobos:
@safe:
void awkk(string[] ppp...)
{
}
void bark(string[] foo...) {
awkk(foo);
}
void cack(string[] bar...) {
bark(bar);
}
void test() {
cack("abc", "def");
}
--
More information about the Digitalmars-d-bugs
mailing list