diff --git a/CHANGELOG.md b/CHANGELOG.md index b952d2b89..e84626996 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ Dates are in `YYYY-MM-DD` format and versions are in [semantic versioning](http: - [#514](https://github.com/wordplaydev/wordplay/issues/514) Fixed cursor position on hidden language tags. - Fixed parsing bug that prevented complete parsing of the program. +- Fixed reactivity dependency bug that included evaluates in branch dependencies. ## 0.10.4 2024-07-08 diff --git a/src/nodes/Evaluate.ts b/src/nodes/Evaluate.ts index 533a1cd50..be0029d9c 100644 --- a/src/nodes/Evaluate.ts +++ b/src/nodes/Evaluate.ts @@ -739,10 +739,6 @@ export default class Evaluate extends Expression { return false; } - hasBranch(expr: Expression) { - return this.fun === expr || this.inputs.includes(expr); - } - compile(evaluator: Evaluator, context: Context): Step[] { // To compile an evaluate, we need to compile all of the given and default values in // order of the function's declaration. This requires getting the function/structure definition