This commit is contained in:
Бондарев Иван 2019-06-23 11:17:51 +02:00
parent c7f72c4c6d
commit 03c4bf91c1
2 changed files with 8 additions and 0 deletions

View file

@ -752,6 +752,8 @@ namespace CodeCompletion
public SymScope CheckForAccess(ElementScope ss, ElementScope es)
{
if (es.is_static)
return null;
if (es.acc_mod == access_modifer.none || es.acc_mod == access_modifer.public_modifer || es.acc_mod == access_modifer.published_modifer || es.acc_mod == access_modifer.internal_modifer)
return es;
if (es.acc_mod == access_modifer.private_modifer)

View file

@ -0,0 +1,6 @@
type MyEnum = (red,green);
begin
var l: (A,B,C);
l := l.A{@@};
MyEnum.green{@const green: (red,green) = green;@};
end.