Skip to content

Commit 957b8f2

Browse files
committed
Merge branch 'fd5' of https://github.com/fdorg/flashdevelop into fd5
2 parents ba10785 + 3bf6fe2 commit 957b8f2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

External/Plugins/HaXeContext/Completion/HaxeComplete.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,18 @@ void ProcessMembers(XmlTextReader reader)
232232
case "t":
233233
if (member == null) continue;
234234
ExtractType(reader, member);
235-
Members.Add(member);
235+
if (!IsOverload(member))
236+
Members.Add(member);
236237
break;
237238
}
238239
}
239240
}
240241

242+
bool IsOverload(MemberModel member)
243+
{
244+
return Members.Count > 0 && Members[Members.Count - 1].FullName == member.FullName;
245+
}
246+
241247
MemberModel ExtractMember(XmlTextReader reader)
242248
{
243249
var name = reader.GetAttribute("n");

0 commit comments

Comments
 (0)