Stewart Gordon <> changed:

           What    |Removed                     |Added
                 CC|                            |
             Blocks|                            |340

--- Comment #1 from Stewart Gordon <>  2009-08-17 16:19:16 PDT ---
(DMD 1.046 Windows)

If b.d is changed to
private void foo(int x) {}
void foo(float x) {}
then it doesn't compile either way round:
bz3254a.d: Error: module bz3254a is private
bz3254a.d(3): Error: function is not accessible from bz3254a
The first of these errors disappears if they're swapped over.

But I'm not sure whether this is meant to work or not.  Are function calls
meant to be matched over all overloads, or only those that are accessible?

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to