unhandled throw() now reports as error. Fixes #446

This commit is contained in:
gnembon committed 2020-09-10 00:32:36 -03:00
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