Open
Description
Problem
Autocomplete does not display extender function of a parent struct for an instance of a child struct, if that extender function is declared after child struct was declared.
Example:
struct Parent
{
int a;
};
import void FunctionEx1(this Parent);
struct Child extends Parent
{
};
import void FunctionEx2(this Parent);
In this case, AutoComplete will display FunctionEx1
as a member of Child, but not FunctionEx2
.
The reason is that in AutoComplete code it only adds parent's members to Child structs when the Child struct is parsed, but not if any extenders are found later.
Expected
Autocomplete should show all Child members inherited from Parent, regardless of the order of declaration.
Activity