[Issue 24415] Can't call public constructor preceded by private template constructor

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 26 23:14:00 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24415

--- Comment #5 from Paul Backus <snarwin+bugzilla at gmail.com> ---
Yeah, good catch. Here's the new minimal example:

--- lib.d
module lib;

private void fun()(int n) {}
void fun(string s) {}
--- app.d
module app;

import lib;

void main()
{
    fun("a");
}
---

--


More information about the Digitalmars-d-bugs mailing list