requireCurlyBraces: support the with statement

Closes gh-661