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

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

0

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

请先登录再写评论。