This commit is contained in:
Бондарев Иван 2018-12-16 18:19:51 +01:00
parent 318774fbd6
commit b7df442554
2 changed files with 5 additions and 1 deletions

View file

@ -841,7 +841,7 @@ namespace CodeCompletion
returned_scope = CheckForAccess(left_scope as TypeScope, returned_scope as ElementScope);
return;
}
if (returned_scope != null && returned_scope is ProcScope)
if (returned_scope != null && returned_scope is ProcScope && !((returned_scope as ProcScope).IsStatic && tmp_tn is ElementScope))
{
if ((returned_scope as ProcScope).return_type == null)
{

View file

@ -0,0 +1,4 @@
begin
var ch: char;
ch.IsDigit{@(расширение) function char.IsDigit(): boolean;@};
end.