fix in intellisense
This commit is contained in:
parent
2b60ecbcd7
commit
194481122b
|
|
@ -1708,6 +1708,8 @@ namespace CodeCompletion
|
||||||
return this.IsEqual((ts as TypeSynonim).actType);
|
return this.IsEqual((ts as TypeSynonim).actType);
|
||||||
if (ts is ProcType)
|
if (ts is ProcType)
|
||||||
return target.IsParamsEquals((ts as ProcType).target);
|
return target.IsParamsEquals((ts as ProcType).target);
|
||||||
|
if (ts is CompiledScope)
|
||||||
|
return ts.IsEqual(this);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -5088,7 +5090,7 @@ namespace CodeCompletion
|
||||||
if (!(pt.target.parameters[i].sc is TypeScope) || !param_cs.IsConvertable(pt.target.parameters[i].sc as TypeScope))
|
if (!(pt.target.parameters[i].sc is TypeScope) || !param_cs.IsConvertable(pt.target.parameters[i].sc as TypeScope))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return CompiledScope.get_type_instance(invoke_meth.ReturnType, new List<TypeScope>()).IsConvertable(pt.target.return_type);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue