On Tuesday, 24 May 2022 at 22:10:21 UTC, frame wrote:
To also anwser to Adam: no, this symbol is unique. The first
line of the error says:
```
Error: function `a.fun(string param)` is not callable using
argument types `()`.
```
There's a big difference between a function and a function
pointer.
This error message says "function". But the code you showed as a
function pointer.
If it were a function pointer, the error would be:
```
Error: function pointer `a()` is not callable using argument types
(int)`
```
So there is clearly some kind of mix up here.
The point is, it shouldn't be called in this line anyway?
If it is a function, you get its address with the & operator. But
if it is supposed to be a function pointer, something is wrong
with the declaration...