Problem found by Nathan Scott with this sort of expression
test2 = sum_inst(kernel.all.load) >= (kernel.all.load #'1 minute')
-> print "TEST2: Left-most sum_inst: v=%v";
Code incorrectly assumed top left-hand expression in the tree had type
boolean AND then descended below the aggregate to try and pick from the
set of values over which the aggregate was evaluated.
Fix %v value extraction for aggregate operators.
Problem found by Nathan Scott with this sort of expression
test2 = sum_inst(kernel.all.load) >= (kernel.all.load #'1 minute')
-> print "TEST2: Left-most sum_inst: v=%v";
Code incorrectly assumed top left-hand expression in the tree had type
boolean AND then descended below the aggregate to try and pick from the
set of values over which the aggregate was evaluated.