Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method argument coloring is broken when multiple arguments with an array type are involved. #16

Open
jackoblades opened this issue Nov 3, 2019 · 1 comment

Comments

@jackoblades
Copy link

namespace issues.eppz
{
    /// <summary>
    /// eppz.eppz-code - 1.2.41 - 2017.07.20
    /// Argument coloring is broken when multiple
    /// arguments with an array type are involved.
    /// </summary>
    public class example
    {
        public example()
        {
            // Local var declaration seems fine.
            object[] a;
            object[] b, c, d;
        }

        public void foo(object[] arg1)
        {
            return; // Just works.
        }

        public void foo(object[] arg1, object[] arg2)
        {
            return; // Broken.
        }

        public void foo(object[] arg1, object[] arg2, object[] arg3)
        {
            return; // Broken.
        }

        public void foo(object[] arg1, int[] arg2, char[] arg3)
        {
            return; // Broken.
        }

        public void bar(object arg1)
        {
            return; // Just works.
        }

        public void bar(object arg1, object arg2)
        {
            return; // Just works.
        }

        public void bar(object arg1, object arg2, object arg3)
        {
            return; // Just works.
        }

        public void baz(object arg1, object[] arg2)
        {
            return; // Just works.
        }

        public void baz(object[] arg1, object arg2)
        {
            return; // Just works.
        }

        public void baz(object[] arg1, object arg2, object[] arg3)
        {
            return; // Broken.
        }
    }
}
@bika-c
Copy link

bika-c commented Apr 5, 2020

I have the same problem. Any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants