
https://bugzilla.novell.com/show_bug.cgi?id=376406 Summary: block<void> evaluated immediately while block<boolean> evaluated on demand Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: benji@opensuse.org QAContact: jsrain@novell.com CC: mvidner@novell.com Found By: --- The following YCP programme logs One, Three, Two. { y2milestone("one"); block<boolean> later = ``{y2milestone("two"); return false;}; y2milestone("three"); eval(later); } While the following programme logs One Two Three { y2milestone("one"); block<void> later = ``{y2milestone("two");}; y2milestone("three"); eval(later); } Expected behaviour: the second programme should print One, Three, Two. block<void> should behave the same as block<boolean> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.