Skip to content

Suggestion issue for Variable Arity Parameters #4267

@stanNthe5

Description

@stanNthe5

Example code:

class Test {
    static Foo foo = new Foo();
    static Foo bar = new Foo();

    void test(Foo... foo) {
    }

    void test2() {
        test(|); // cursor at "|"
    }
}

When the cursor is in the "test()", and trigger suggestions using shortcut, "foo" and "bar" will appear in a dropdown list for selection, there is no problem. After choosing one,the code is:

test(foo,|) ; // cursor at "|"

Now when I try to trigger suggestion, "foo" and "bar" not appear.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions