Whenever you suspect the development tool has a bug, assume you're wrong and it doesn't. It is extremely rare that it happens, and it's almost never in basic syntax. (Last time I ran across a dev tool bug was in the memory allocation routines of an older version of Delphi, which were sensitive to fragmentation in the right conditions.)