parent
b4c9dc2f0c
commit
682c640d29
|
|
@ -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 = "2714";
|
||||
public const string Revision = "2721";
|
||||
|
||||
public const string MainVersion = Major + "." + Minor;
|
||||
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%COREVERSION%=1
|
||||
%REVISION%=2714
|
||||
%MINOR%=7
|
||||
%REVISION%=2721
|
||||
%COREVERSION%=1
|
||||
%MAJOR%=3
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
3.7.1.2714
|
||||
3.7.1.2721
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!define VERSION '3.7.1.2714'
|
||||
!define VERSION '3.7.1.2721'
|
||||
|
|
|
|||
|
|
@ -177,6 +177,7 @@ namespace SyntaxVisitors.SugarVisitors
|
|||
//Replace(dqn, sug); // Этот не подходит!
|
||||
|
||||
var dl = (dqn.left.ExprToQCE == null ? dqn.left : dqn.left.ExprToQCE) as addressed_value;
|
||||
dqn.Parent = null;
|
||||
var tt = new var_statement(new ident(tname), dl, dqn.source_context);
|
||||
tt.var_def.Parent = tt;
|
||||
var l = new List<statement>();
|
||||
|
|
|
|||
|
|
@ -2130,6 +2130,9 @@ function MatrEqual<T>(a, b: array [,] of T): boolean;
|
|||
/// Перемешивает список случайным образом
|
||||
procedure Shuffle<T>(l: List<T>);
|
||||
|
||||
/// Возвращает следующую перестановку в массиве
|
||||
function NextPermutation(a: array of integer): boolean;
|
||||
|
||||
|
||||
// -----------------------------------------------------
|
||||
//>> Подпрограммы для генерации последовательностей # Subroutines for sequence generation
|
||||
|
|
@ -11696,7 +11699,7 @@ begin
|
|||
repeat
|
||||
for var i:=0 to n-1 do
|
||||
res[i] := a[ind[i]];
|
||||
yield res;
|
||||
yield Arr(res);
|
||||
until not NextPermutation(ind);
|
||||
end;
|
||||
|
||||
|
|
|
|||
8
TestSuite/errors/err0377.pas
Normal file
8
TestSuite/errors/err0377.pas
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
type
|
||||
t1 = class
|
||||
o: Object;
|
||||
property p1: string read o?.ToString;
|
||||
end;
|
||||
|
||||
begin
|
||||
end.
|
||||
|
|
@ -2130,6 +2130,9 @@ function MatrEqual<T>(a, b: array [,] of T): boolean;
|
|||
/// Перемешивает список случайным образом
|
||||
procedure Shuffle<T>(l: List<T>);
|
||||
|
||||
/// Возвращает следующую перестановку в массиве
|
||||
function NextPermutation(a: array of integer): boolean;
|
||||
|
||||
|
||||
// -----------------------------------------------------
|
||||
//>> Подпрограммы для генерации последовательностей # Subroutines for sequence generation
|
||||
|
|
@ -11696,7 +11699,7 @@ begin
|
|||
repeat
|
||||
for var i:=0 to n-1 do
|
||||
res[i] := a[ind[i]];
|
||||
yield res;
|
||||
yield Arr(res);
|
||||
until not NextPermutation(ind);
|
||||
end;
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -45,8 +45,8 @@ begin
|
|||
Writeln($'{prefix}) {status}: {fullName}');
|
||||
if not string.IsNullOrEmpty(message) then
|
||||
Writeln(message.TrimEnd(TRIM_CHARS));
|
||||
if not string.IsNullOrEmpty(stackTrace) then
|
||||
Writeln(stackTrace.TrimEnd(TRIM_CHARS));
|
||||
//if not string.IsNullOrEmpty(stackTrace) then
|
||||
// Writeln(stackTrace.TrimEnd(TRIM_CHARS));
|
||||
end;
|
||||
|
||||
procedure DisplayTestResult(result: ITestResult);
|
||||
|
|
|
|||
Loading…
Reference in a new issue