This commit is contained in:
Бондарев Иван 2018-04-08 16:38:23 +02:00
parent 2e83a608e9
commit 76ad00bf41
2 changed files with 10 additions and 0 deletions

View file

@ -369,6 +369,8 @@ namespace CodeCompletion
{
if (ts is TypeSynonim)
return GetExtensionMethods((ts as TypeSynonim).actType);
if (ts.original_type != null)
return GetExtensionMethods(ts.original_type);
List<ProcScope> lst = new List<ProcScope>();
List<ProcScope> meths = null;
TypeScope tmp_ts = ts;

View file

@ -0,0 +1,8 @@
type t1<T> = class end;
procedure p1(self:t1<T>); extensionmethod := exit;
begin
var a := new t1<byte>;
a.p1{@(расширение) procedure t1<T>.p1();@};
end.