This commit is contained in:
Mikhalkovich Stanislav 2020-06-18 10:06:30 +03:00
parent 91bb72fc34
commit f2fcb0475a
6 changed files with 21 additions and 6 deletions

View file

@ -15,7 +15,7 @@ internal static class RevisionClass
public const string Major = "3";
public const string Minor = "6";
public const string Build = "3";
public const string Revision = "2508";
public const string Revision = "2509";
public const string MainVersion = Major + "." + Minor;
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;

View file

@ -1,4 +1,4 @@
%COREVERSION%=3
%REVISION%=2508
%MINOR%=6
%REVISION%=2509
%COREVERSION%=3
%MAJOR%=3

View file

@ -1 +1 @@
3.6.3.2508
3.6.3.2509

View file

@ -1 +1 @@
!define VERSION '3.6.3.2508'
!define VERSION '3.6.3.2509'

15
TestSuite/ugl1.pas Normal file
View file

@ -0,0 +1,15 @@
// #2262
type t1 = class
end;
function f1<T>(self: t1): t1; extensionmethod;
begin
Result := self;
end;
begin
var a := new t1;
var b := a.f1&<byte>;
Assert(a=b);
end.

View file

@ -19505,7 +19505,7 @@ namespace PascalABCCompiler.TreeConverter
return;
}
}
if (!(adr is compiled_static_method_call) && !(adr is common_static_method_call))
if (!(adr is compiled_static_method_call) && !(adr is common_static_method_call) && !(adr is common_namespace_function_call))
AddError(get_location(_ident_with_templateparams.name), "TRIANGLE_BRACKETS_NOT_AWAITED");
}