analysis-net icon indicating copy to clipboard operation
analysis-net copied to clipboard

false translated as a 0

Open m-carrasco opened this issue 7 years ago • 1 comments

Hi

The following code is wrongly translated. This happens in advance-pta and in cci-version branches.

        public static void Test3()
        {
            List<Object> list = new List<Object>();
            list.Add(false); // here false in tac is a zero
            bool pos1 = (bool)list[1];
            Contract.Assert(false);
        }

Best regards, Manuel.

m-carrasco avatar Jun 27 '18 17:06 m-carrasco

Any news?

m-carrasco avatar Jul 05 '18 17:07 m-carrasco