bug fix #424
This commit is contained in:
parent
d464de48c4
commit
f58e6b5603
|
|
@ -1472,7 +1472,12 @@ namespace CodeCompletion
|
|||
ps.is_static = _function_header.class_keyword;
|
||||
if (add_doc_from_text && this.converter.controller.docs != null && this.converter.controller.docs.ContainsKey(_function_header))
|
||||
ps.AddDocumentation(this.converter.controller.docs[_function_header]);
|
||||
if (is_proc_realization) ps.already_defined = true;
|
||||
if (is_proc_realization)
|
||||
{
|
||||
ps.already_defined = true;
|
||||
if (ps.loc == null)
|
||||
ps.loc = loc;
|
||||
}
|
||||
else
|
||||
{
|
||||
ps.loc = loc;
|
||||
|
|
|
|||
|
|
@ -1883,6 +1883,8 @@ namespace CodeCompletion
|
|||
return this;
|
||||
ProcScope instance = new ProcScope(this.name, this.topScope, this.is_constructor);
|
||||
instance.is_extension = this.is_extension;
|
||||
instance.loc = this.loc;
|
||||
instance.body_loc = this.body_loc;
|
||||
instance.parameters = new List<ElementScope>(this.parameters.Count);
|
||||
int i = 0;
|
||||
foreach (ElementScope parameter in this.parameters)
|
||||
|
|
|
|||
Loading…
Reference in a new issue