bug fix #153
This commit is contained in:
parent
9f403ae4b6
commit
8e05ec06c7
|
|
@ -2524,6 +2524,11 @@ namespace CodeCompletion
|
|||
SymScope[] names = returned_scopes.ToArray();
|
||||
List<expression> parameters = new List<expression>();
|
||||
TypeScope obj = null;
|
||||
if (names.Length > 0 && names[0] is TypeScope)
|
||||
{
|
||||
returned_scope = names[0];
|
||||
return;
|
||||
}
|
||||
foreach (SymScope ss in names)
|
||||
{
|
||||
if (ss is ProcScope && (ss as ProcScope).is_extension)
|
||||
|
|
|
|||
|
|
@ -893,7 +893,12 @@ namespace CodeCompletion
|
|||
returned_scope = names[0];
|
||||
return;
|
||||
}
|
||||
ProcScope ps = select_method(names,_method_call.parameters!=null?_method_call.parameters.expressions.ToArray():null);
|
||||
if (names.Length > 0 && names[0] is TypeScope)
|
||||
{
|
||||
returned_scope = names[0];
|
||||
return;
|
||||
}
|
||||
ProcScope ps = select_method(names,_method_call.parameters!=null?_method_call.parameters.expressions.ToArray():null);
|
||||
returned_scope = ps;
|
||||
if (ps == null && names.Length > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue