fix #1989
This commit is contained in:
parent
8c249d865a
commit
5f15134dab
|
|
@ -15,7 +15,7 @@ internal static class RevisionClass
|
||||||
public const string Major = "3";
|
public const string Major = "3";
|
||||||
public const string Minor = "5";
|
public const string Minor = "5";
|
||||||
public const string Build = "0";
|
public const string Build = "0";
|
||||||
public const string Revision = "2149";
|
public const string Revision = "2150";
|
||||||
|
|
||||||
public const string MainVersion = Major + "." + Minor;
|
public const string MainVersion = Major + "." + Minor;
|
||||||
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
|
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
%MINOR%=5
|
|
||||||
%REVISION%=2149
|
|
||||||
%COREVERSION%=0
|
%COREVERSION%=0
|
||||||
|
%REVISION%=2150
|
||||||
|
%MINOR%=5
|
||||||
%MAJOR%=3
|
%MAJOR%=3
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// This CSharp output file generated by Gardens Point LEX
|
// This CSharp output file generated by Gardens Point LEX
|
||||||
// Version: 1.1.3.301
|
// Version: 1.1.3.301
|
||||||
// Machine: DESKTOP-G8V08V4
|
// Machine: DESKTOP-G8V08V4
|
||||||
// DateTime: 19.06.2019 14:36:10
|
// DateTime: 24.06.2019 15:32:41
|
||||||
// UserName: ?????????
|
// UserName: ?????????
|
||||||
// GPLEX input file <ABCPascal.lex>
|
// GPLEX input file <ABCPascal.lex>
|
||||||
// GPLEX frame file <embedded resource>
|
// GPLEX frame file <embedded resource>
|
||||||
|
|
|
||||||
|
|
@ -4689,7 +4689,7 @@ common_lambda_body
|
||||||
|
|
||||||
|
|
||||||
lambda_function_body
|
lambda_function_body
|
||||||
: expr_l1
|
: expr_l1_func_decl_lambda
|
||||||
{
|
{
|
||||||
var id = SyntaxVisitors.ExprHasNameVisitor.HasName($1, "Result");
|
var id = SyntaxVisitors.ExprHasNameVisitor.HasName($1, "Result");
|
||||||
if (id != null)
|
if (id != null)
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -244,5 +244,6 @@ script=
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
!define VERSION '3.5.0.2149'
|
!define VERSION '3.5.0.2150'
|
||||||
|
|
|
||||||
10
TestSuite/lambda_lambda.pas
Normal file
10
TestSuite/lambda_lambda.pas
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
begin
|
||||||
|
var f: ()->()->();
|
||||||
|
|
||||||
|
f :=
|
||||||
|
()->()->Assert(1=1); //Ошибка: Встречено ')', а ожидалось выражение
|
||||||
|
|
||||||
|
var p := f();
|
||||||
|
p;
|
||||||
|
|
||||||
|
end.
|
||||||
Loading…
Reference in a new issue