This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11005] compile-time error catching w/ const-propagation
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 23 Nov 2009 20:56:09 -0000
- Subject: [Bug translator/11005] compile-time error catching w/ const-propagation
- References: <20091123185203.11005.dsmith@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.