This commit is contained in:
parent
67e78f1840
commit
05c1c9a1b5
|
|
@ -167,7 +167,8 @@ namespace CodeCompletion
|
|||
var arr = tn.full_name.Split('.');
|
||||
foreach (string s in arr)
|
||||
{
|
||||
ntr.names.Add(new ident(s));
|
||||
if (s.IndexOf("implementation__") == -1)
|
||||
ntr.names.Add(new ident(s));
|
||||
}
|
||||
return ntr;
|
||||
}
|
||||
|
|
|
|||
19
TestSuite/intellisense_tests/unit2.pas
Normal file
19
TestSuite/intellisense_tests/unit2.pas
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
unit unit2;
|
||||
|
||||
interface
|
||||
|
||||
implementation
|
||||
|
||||
type
|
||||
c1 = class
|
||||
f1: string;
|
||||
end;
|
||||
|
||||
procedure pr1;
|
||||
begin
|
||||
var i1:= new c1;
|
||||
i1.f1{@var c1.f1: string;@} := '';
|
||||
end;
|
||||
|
||||
|
||||
end.
|
||||
Loading…
Reference in a new issue