stevedekorte/io — pull request #200 by dennisferron (2012-04-24 03:54:22+00:00)
Title: Make Object 'do' work the same as 'lexicalDo'.

This commit changes Object "do" to use the same implementation as "lexicalDo," so that slots in the calling context will be visible within the do block. This removes a potential source of confusion for new users of Io.

The old implementation of "do" has been renamed "nonlexicalDo", in case it should be needed.

Additionally, the documentation comments for all three have been expanded to explain what the differences are.

Feel free to change the names or remove the other (non)lexicalDo methods if you think they will not be needed.