This commit is contained in:
Бондарев Иван 2017-08-13 15:33:18 +02:00
parent bc938a6c23
commit 2c920e1a62

View file

@ -1308,7 +1308,10 @@ namespace CodeCompletion
ps.is_extension = true;
_function_header.parameters.params_list[0].vars_type.visit(this);
topScope = returned_scope;
if (topScope is ProcScope)
topScope = new ProcType(topScope as ProcScope);
ps.declaringType = topScope as TypeScope;
TypeScope ts = topScope as TypeScope;
if (topScope is TypeSynonim)
ts = (ts as TypeSynonim).actType;