Skip to content

[display] top-level completion must check for duplicates #6341

@nadako

Description

@nadako
import Main.E.a;

enum E {
    a;
}

class Main {
    static var a:Int;
    function new(a) {
        |
    }

    static function main() {
    }
}

Invoking toplevel completion here returns 4 instances of a: while it must return only one with respect to resolution order.

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