This commit is contained in:
Бондарев Иван 2018-08-28 21:58:09 +02:00
parent 21463c712c
commit 06d2676e0a
2 changed files with 10 additions and 1 deletions

View file

@ -4099,7 +4099,7 @@ namespace CodeCompletion
return true;
if (this.IsGenericParameter && ts.IsGenericParameter && this.Name == ts.Name)
return true;
if (ts is TemplateParameterScope)
if (ts is TemplateParameterScope || ts.IsGenericParameter)
return true;
TypeScope tmp = this.baseScope;
while (tmp != null)

View file

@ -0,0 +1,9 @@
type
TClass = class
end;
begin
var x{@var x: (integer,List<byte>);@} := (0, new List<byte>());
var y{@var y: (integer,TClass);@} := (0, new TClass());
writeln(y.Item2{@property Tuple<>.Item2: TClass; readonly;@});
end.