Define "works" and "doesn't work". Did you re-compile your code (and save it)? Is it actually compiling/running incorrectly, or is it just the auto-complete that's warning you of an error?