fix #2319
This commit is contained in:
parent
f06367a056
commit
0a504dfc6f
|
|
@ -15,7 +15,7 @@ internal static class RevisionClass
|
|||
public const string Major = "3";
|
||||
public const string Minor = "7";
|
||||
public const string Build = "1";
|
||||
public const string Revision = "2710";
|
||||
public const string Revision = "2712";
|
||||
|
||||
public const string MainVersion = Major + "." + Minor;
|
||||
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%COREVERSION%=1
|
||||
%REVISION%=2710
|
||||
%REVISION%=2712
|
||||
%MINOR%=7
|
||||
%MAJOR%=3
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
3.7.1.2710
|
||||
3.7.1.2712
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!define VERSION '3.7.1.2710'
|
||||
!define VERSION '3.7.1.2712'
|
||||
|
|
|
|||
3
TestSuite/errors/err0376.pas
Normal file
3
TestSuite/errors/err0376.pas
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
begin
|
||||
integer(True)
|
||||
end.
|
||||
|
|
@ -3339,6 +3339,8 @@ namespace PascalABCCompiler.TreeConverter
|
|||
&& !(sn is foreach_break_node) && !(sn is foreach_continue_node)
|
||||
)
|
||||
AddError(get_location(_procedure_call), "STATEMENT_EXPECTED");
|
||||
if (sn is base_function_call bfc && bfc.IsExplicitConversion)
|
||||
AddError(get_location(_procedure_call), "STATEMENT_EXPECTED");
|
||||
|
||||
return_value(sn);
|
||||
//_procedure_call.func_name.visit(this);
|
||||
|
|
|
|||
Loading…
Reference in a new issue