Refactored ValueType to FunctionValueType

It was causing issues.
This commit is contained in:
Jordan Wages 2025-08-20 05:21:57 -05:00
commit 82ceb7e5cd
8 changed files with 40 additions and 40 deletions

View file

@ -1,5 +1,5 @@
using csmic;
using ValueType = csmic.ValueType;
using FunctionValueType = csmic.FunctionValueType;
namespace stdlib.functions
{
@ -23,7 +23,7 @@ namespace stdlib.functions
var input = _args[0].Value;
decimal number = Convert.ToDecimal(input.Value);
return new FunctionValue(ValueType.Numeric, number >= 0 ? POSITIVE : NEGATIVE);
return new FunctionValue(FunctionValueType.Numeric, number >= 0 ? POSITIVE : NEGATIVE);
});
}
}