Added functions and ensured the context was being passed around correctly

This commit is contained in:
Stefan Zermatten
2020-09-18 11:52:44 +02:00
parent 06f17a6d33
commit 6570665c1e
12 changed files with 209 additions and 53 deletions

View File

@@ -17,7 +17,6 @@ export default class RollArrayNode extends ParseNode {
return new ConstantNode({
value: total,
type: 'number',
previousNodes: [this],
});
}
}