stefnotch / quantum-sheet

QuantumSheet - A user friendly mathematics worksheet and solver
https://stefnotch.github.io/quantum-sheet/
GNU General Public License v3.0
55 stars 5 forks source link

Fix expression result referring to another, now defined variable #40

Open stefnotch opened 2 years ago

stefnotch commented 2 years ago

There is this edge case where an expression first refers to an undefined variable (a bit like a unit).

Then, the variable gets defined.

And then we try to re-evaluate the expression by putting more = signs at the end

image

The place where it needs to be fixed is // TODO: This can result in more getters existing