Groovy Compilation Errors

I am using Idea 9.03 and wondering why the following script is not flagged as an error in Idea. Running the script obviously gives me a No signature of method: test.doFoo()



doFoo("test","sdf");


private void doFoo(String foo){
  println foo
}

0
3 comments

Jeffrey,
This issue is fixed in IDEA X EAPs, thank you!

0
Avatar
Permanently deleted user

Peter,  I just tried to repro in the latest eap build. I am getting the same result.   Is there a build of X eap this is confirmed fixed in?

0

More precisely: it's marked as a warning, since error could be too irritating in a dynamic language like Groovy. Do you get the warning?

0

Please sign in to leave a comment.