unhandled throw() now reports as error. Fixes #446
This commit is contained in:
1 parent
33f400e904
commit
cbe91b4759
2 files changed
+4
-3
No files matched your search
@@ -122,7 +122,7 @@ public class FunctionValue extends Value implements Fluff.ILazyFunction
|
||||
@Override
|
||||
public double readDoubleNumber()
|
||||
{
|
||||
throw new InternalExpressionException("Function value has no numeric value");
|
||||
return getNumParams();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user