Using IDEA with the JetGroovy plugin, if I compile (CtrlShiftF9) some Groovy code containing an error (an undefined variable named foobar), I see the message "Compilation completed successfully" in the status bar at the bottom of the IDEA window.
If I try to compile the same code (with the undefined variable "foobar"), using groovyc on the command line, I get the following error message (which I expect to see):
... Main.groovy: 6: the name foobar doesn't refer to a declared variable or class ...
So, why don't I see any compiler error output when I compile in IDEA?
When I try to run my code in IDEA, I get the following error output in the run window:
Exception in thread "main" groovy.lang.MissingPropertyException: No such property: foobar for class: GroovyTest