This commit is contained in:
Бондарев Иван 2017-09-29 18:21:57 +02:00
parent 90ee16bb00
commit 0768b5415e

View file

@ -2785,7 +2785,7 @@ namespace PascalABCCompiler.SystemLibrary
{
return null;
}
return new byte_const_node((byte)bcn.constant_value, call_location);
return new int_const_node((int)bcn.constant_value, call_location);
}
private static expression_node uint_to_uint_executor(location call_location, params expression_node[] parameters)