.
D 2012-11-19T15:13:07
J assignee nobody
J cmimetype text/plain
J comment OS:\sDebian\sSqueeze\n\nPromblem:\sexpr\sis\snot\sconsistent\swith\sboolean\svalues\sand\soperators,\si.e.\s[expr\s{\s(\s!\strue\s)\s==\sfalse\s}]\syields\s0\n\nExpected:\s"not\strue"\sis\slogically\sthe\ssame\sas\s"false"\s-\sexpr\sshould\sknow\sthat.\n\nA\sfew\snotes:\n*\stested\sin\stclsh\s8.5\n*\sfound\sno\sbugs\sfor\s"expr"\sin\scurrent\sand\sdevelopement\n*\sa\sfix\scould\sbreak\sexisting\scode\s(that's\swhy\sI\sput\sit\sin\sgroup\sdevelopement)\n*\sworkaround:\salways\suse\sbool()\sor\s!!\sfor\sexplicit\sconversion,\si.e.\s[expr\s{\s(\s!\strue\s)\s==\sbool\s(\sfalse\s)\s}]\syields\s1
J foundin current:\s8.6.0
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter heinrichmartin
J subsystem None
J title expr\s{\s(\s!\strue\s)\s==\sfalse\s}
J type Bug
K 3588512fffffffffffffffffffffffffffffffff
U heinrichmartin
Z 0a7190815f3391c74edd9ecb2b26e9de