push
github
Operators Fix (#1995) * Add tests for getVariantName (cherry picked from commit db806e4d2) * Fix callIfFuncAndRightArgs not being exported * Remove the unknown overload from callWithoutMetadata * Add type guard checking to isTupleOfLength * Fix TypeOfConstantsToType type * Fix format * Move ChapterStrings type to langs file * Add some missing tests * Make sure that library functions also use callWithoutMetadata * Fix potential transpiler case where an object's methods might not get called correctly * Fix incorrect error message when using InvalidNumberParameterError * Change toThrowError, Fix incorrect array access, Use unicode for number errors * Revert change to memberexpressions * Add @internal specifier for ReplResult * Test max args * Make wrap work * General cleanup * Remove fs * Add wrapUnsafe * Add tests for handling default arguments * Run format * Use original definition of FunctionOfLength * Add docstring to wrap * Allow js-slang to handle rest and optional parameters * Export parameter specifier * Add tests for docsToHtml * Update docstrings * Add utility for validating function arguments * Fix stepper and cse-machine potentially not treating function arity correctly * Fix stepper call to builtins not checking arity correctly * Run format * Add function names to errors
3181 of 4249 branches covered (74.86%)
Branch coverage included in aggregate %.
117 of 124 new or added lines in 19 files covered. (94.35%)
7090 of 8799 relevant lines covered (80.58%)
173917.05 hits per line