Bug in Complete statement?

when typing this:


if <shift-command-enter>


I get the following

if (<cursor>)

So far so good.

But then when i type in my condition (say "true) and hit  <shift-command-enter> I get the following

if (true)


The cursor is in the correct place but the extra brackets are unexpected.  I would expect that the cursor is simply moved into the braces, not that another set is added.

Interestingly enough, if i do a while statement with the steps above, it behaves as I would expect.


Please sign in to leave a comment.