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

--- Comment #3 from Vladimir Panteleev <[email protected]> ---
(In reply to Walter Bright from comment #2)
> How were you looking for the "target path" string?

ParameterIdentifierTuple

> In any case, a rule that functions cannot become template functions would be
> extremely limiting.
> 
> One way to avoid adding optional parameter breakage is to add an overload
> instead. But I suspect that would then break introspection code that is not
> expecting an overload.

I just tried this program:

```
void f(int i) {}
void f(string s) {}

pragma(msg, ParameterTypeTuple!f);
```

It prints (int). I'm not sure if this is a behavior we would want to rely on,
though.

--

Reply via email to