```haxe 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.