This commit is contained in:
miks1965 2018-09-16 07:07:36 +03:00
parent da91abdad4
commit 12312d065d
6 changed files with 16 additions and 5 deletions

View file

@ -15,7 +15,7 @@ internal static class RevisionClass
public const string Major = "3";
public const string Minor = "4";
public const string Build = "2";
public const string Revision = "1790";
public const string Revision = "1791";
public const string MainVersion = Major + "." + Minor;
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;

View file

@ -1,4 +1,4 @@
%MINOR%=4
%REVISION%=1790
%COREVERSION%=2
%REVISION%=1791
%MINOR%=4
%MAJOR%=3

Binary file not shown.

View file

@ -1 +1 @@
!define VERSION '3.4.2.1790'
!define VERSION '3.4.2.1791'

View file

@ -0,0 +1,11 @@
type
t1 = class end;
begin
var ll := new LinkedList<t1>();
foreach var o: LinkedListNode<t1> in ll do
writeln(o.GetType)
end.

View file

@ -112,7 +112,7 @@ namespace PascalABCCompiler.TreeConverter
context.close_var_definition_list(tn, null);
}
if (!(foreachVariable.type is compiled_generic_instance_type_node) && !sys_coll_ienum)
if (/*!(foreachVariable.type is compiled_generic_instance_type_node) &&*/ !sys_coll_ienum) // SSM 16.09.18 - закомментировал это ограничение для фиксации бага #1184
convertion_data_and_alghoritms.check_convert_type_with_inheritance(elem_type, foreachVariable.type,
get_location(_foreach_stmt.identifier));
return foreachVariable;