fix in new sets

This commit is contained in:
Ivan Bondarev 2024-11-13 20:52:29 +01:00
parent 03be5bd931
commit a6564df23c

View file

@ -4989,6 +4989,8 @@ namespace PascalABCCompiler.NETGenerator
if (expr != null && !(expr is IConstantNode) && !(expr is IArrayInitializer))
{
expr.visit(this);
if (expr.type != null)
il.Emit(OpCodes.Pop);
}
il = ilgn;
}