Исправление бага со слайсами в 3.6.3
This commit is contained in:
parent
bdda5117d9
commit
ec29e42978
|
|
@ -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 = "2446";
|
||||
public const string Revision = "2447";
|
||||
|
||||
public const string MainVersion = Major + "." + Minor;
|
||||
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%COREVERSION%=3
|
||||
%REVISION%=2446
|
||||
%MINOR%=6
|
||||
%REVISION%=2447
|
||||
%COREVERSION%=3
|
||||
%MAJOR%=3
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
3.6.3.2446
|
||||
3.6.3.2447
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!define VERSION '3.6.3.2446'
|
||||
!define VERSION '3.6.3.2447'
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@ namespace SyntaxVisitors.SugarVisitors
|
|||
}
|
||||
public override void visit(assign _assign)
|
||||
{
|
||||
Exit(_assign.from);
|
||||
Exit(_assign.to);
|
||||
ProcessNode(_assign.from);
|
||||
ProcessNode(_assign.to);
|
||||
}
|
||||
|
||||
public void ProceedSliceExpr(slice_expr sl)
|
||||
|
|
|
|||
7
TestSuite/SliceArr_363.pas
Normal file
7
TestSuite/SliceArr_363.pas
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
begin
|
||||
var x:= Arr(1..5);
|
||||
x := x[:2] + x;
|
||||
Assert(x.SequenceEqual(Arr(1,2,1,2,3,4,5)));
|
||||
x := x?[:2] + x;
|
||||
Assert(x.SequenceEqual(Arr(1,2,1,2,1,2,3,4,5)));
|
||||
end.
|
||||
Loading…
Reference in a new issue