Skip to content

2.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Aug 13:23
· 2 commits to main since this release
3814341

Solve 2.0.1

A small fix, brought in from a solve-engine
patch release.

Fixed

Markdown list markers were being read as arithmetic. A line starting with
-, * or + followed by a number, such as - 100 + 20 in a bulleted
list, was evaluated as an expression instead of being left alone as a list
item. The three markers did not even agree with each other about the same
kind of line, which is what made it a bug rather than an edge case: -
answered -80, * produced an error, and + happened to answer 120 by
coincidence rather than by rule.

The engine now recognises a list marker for what it is and evaluates the
text after it, so - 100 + 20 reads as a bulleted line containing the
expression 100 + 20, not as -100 + 20.

Full detail in solve-engine's 1.0.2 release.