--- Comment #1 from 2010-03-17 05:30:02 PDT ---
A related warning can be see with this C# program:

using System;
namespace Test {
    class Foo {
        int x;
        private void Add(int y) {
            x += y;
        static void Main() {

Compiled with mono:
...gmcs test.cs
test.cs(5,22): warning CS0169: The private method `Test.Foo.Add(int)' is never
Compilation succeeded - 1 warning(s)

In D private methods can be used by other functions in the same module, so it's
less easy to produce a warning like this.

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

Reply via email to