[Bug translator/11005] compile-time error catching w/ const-propagation

fche at redhat dot com sourceware-bugzilla@sourceware.org
Mon Nov 23 20:56:00 GMT 2009


------- Additional Comments From fche at redhat dot com  2009-11-23 20:56 -------
Further discussion seems to favor this syntax:

@defined($expression)  --  integer-valued, evaluated at translation time

This requires const-propagated conditionals (if else  AND  ? :) as in

    println (@defined($foo) ? $foo : $bar)
    if (@defined($bar)) { println($bar) }


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|compile-time error catching |compile-time error catching
                   |                            |w/ const-propagation


http://sourceware.org/bugzilla/show_bug.cgi?id=11005

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list