You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var list:List<Something> = new List();
for(element in list) {
element. //no code tips here
}
This does not work, because the List.iterator() method returns a exemplar ListIterator. If I change it to an Iterator, then the autocomplete starts working.
@:forward
abstract AbstractWrapper<T>(T) from T to T {
public inline function new(value:T) this = value;
}
var obj:AbstractWrapper<Something> = new Something();
obj. //no code tips here
These problems are not present if you enable the checkbox Use compiler in the SDK settings.
The text was updated successfully, but these errors were encountered:
As you can see, functions defined within the AbstractWrapper are available for completion. However, I think the disconnect is that we don't process the to functionality when we walk the class hierarchy looking for candidates.
Sorry for my English. I`m really looking forward to this fix. And now it has become even more critical, because in Haxe 4 preview versions, Null<T> has also become an abstract type. Now he looks exactly like my example and autocomplete does not work even for such trivial things as Null<String>.
This does not work, because the List.iterator() method returns a exemplar ListIterator. If I change it to an Iterator, then the autocomplete starts working.
These problems are not present if you enable the checkbox Use compiler in the SDK settings.
The text was updated successfully, but these errors were encountered: