source-academy / js-slang

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

Fix scheme's handling of complex number operations #1691

Closed s-kybound closed 5 months ago

s-kybound commented 5 months ago

The expression (+ 1 1+1i) does not currently work, as the integer fails to promote itself to a complex number. This PR updates scm-slang to resolve this issue.

Once updated, this root finder program should work properly: https://share.sourceacademy.org/rootfinderscheme

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 8813890151

Details


Totals Coverage Status
Change from base Build 8798090865: 0.0%
Covered Lines: 10917
Relevant Lines: 12952

💛 - Coveralls