Project

General

Profile

Bug #100

Incorrect result in the TRACE procedure when converting SIGNED16 to SET16

Added by Serge Durmanov 3 months ago.

Status:
New
Priority:
Normal
Category:
Compiler

Description

MODULE TestSet16;
VAR int16 := -1: SIGNED16;
PROCEDURE Do*;
BEGIN
    TRACE( SET16( int16 ) );
END Do;
END TestSet16.Do~

System.Free TestSet16~
{P cpuid= 0, pid= 6936 TestSet16.Do@67:SET16= {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18,20,23,27}; } {P cpuid= 0, pid= 3024 TestSet16.Do@67:SET16= {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,20,23,27}; }

Also available in: Atom PDF