.
D 2010-11-12T15:32:45
J assignee msofer
J cmimetype text/plain
J comment \s\s\s%\sproc\stcl::mathfunc::foo\sx\s{\sputs\s"foo:>>>$x<<<";\sreturn\s$x\s}\n\s\s\s%\sset\sx\s1;\sexpr\s{foo($x?"\s0x42\s":"\s0x41"\s)}\n\s\s\sfoo:>>>\s0x42\s<<<\n\s\s\s66\n\s\s\s%\sexpr\s{foo(1?"\s0x42\s":"\s0x41"\s)}\n\s\s\sfoo:>>>66<<<\n\s\s\s66\n\s\s\s%\s\n\nIf\sthe\scondition\sis\sa\sconstant,\sthen\sthe\sresult\sof\sthe\s"?:"\soperator\sis\snumericalized\seven\sif\sit\sgets\spassed\sto\san\sexternal\sfunction.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter avl42
J subsystem 47.\sBytecode\sCompiler
J title Glitch\sin\sthe\sconstant\sexpression\soptimization.
J type Bug
K 3107983fffffffffffffffffffffffffffffffff
U avl42
Z 939e3ee118bb42e129c8d36afd8f6580