--- Comment #6 from 2010-11-09 04:40:16 PST ---
(In reply to comment #5)

> You should be able to do printf-style debugging in ANY pure function.

Do you mean something like this?

pure void foo() {
    debug { printf("foo"); }

And even giving the compiler an explicit debug{} tag that is tricky. In general
writing is a side effect. So if your programs output is the text it produces,
its output may change according to how much the compiler optimizes away pure
function calls.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to