bug fix #748
This commit is contained in:
parent
2e83a608e9
commit
76ad00bf41
|
|
@ -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;
|
||||
|
|
|
|||
8
TestSuite/intellisense_tests/extensionmethods6.pas
Normal file
8
TestSuite/intellisense_tests/extensionmethods6.pas
Normal 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.
|
||||
Loading…
Reference in a new issue