source-academy / js-slang

Implementations of sublanguages of JavaScript, TypeScript, Scheme and Python
https://source-academy.github.io/source/
Apache License 2.0
70 stars 104 forks source link

1622 stepper does not evaluate arguments when it should #1628

Closed hanscau closed 7 months ago

hanscau commented 7 months ago

Fix the issue by rearranging the reduction steps of function call

Refactor code for easier readability

Added comments

Added tests

coveralls commented 7 months ago

Pull Request Test Coverage Report for Build 8506821052

Details


Files with Coverage Reduction New Missed Lines %
src/errors/errors.ts 4 66.67%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 8506149870: 0.01%
Covered Lines: 10636
Relevant Lines: 12668

💛 - Coveralls