The greater prominence of Critiques in Calypso
encourages me to try to clean them out.

I bumped into a false positive "Temporaries read before written."
that I've condensed to the following example.

    test
        |x|
        [ x := nil ] whileNil: [ x ifNil: [ x := 1] ]

Now before I log an Issue, is it feasible to be able to recognise this?
Perhaps only for common looping idioms?

Anyway, the workaround is simple enough...
    test
        |x|
        x := nil. "silence critiques"
        [ x := nil ] whileNil: [ x ifNil: [ x := 1] ]

cheers -ben

Reply via email to