Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-2
-
None
Description
def func( test )
{
if( test )
else
{ return "goodbye" }}
println func(true)
println func(false)
println func();
//output
hello
goodbye
goodbye
//expected
I expecte an exception is thrown in statement "println func()" for no such function existed