[First-Class Calc] Return calculations from meta.calc-args

This commit is contained in:
Natalie Weizenbaum 2021-08-11 18:14:41 -07:00
parent a25464f63a
commit 93c13f0323
2 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,9 @@
* Properly parenthesize the right-hand side of `a / (b * c)`.
* Return calculations from `meta.calc-args()` as calculations, not unquoted
strings.
* Fix some broken formatting.
* Remove TODOs about extra simplification.

View File

@ -637,7 +637,7 @@ meta.calc-args($calc)
* For each argument `arg` in `$calc`'s arguments:
* If `arg` is a number, add it to `args`.
* If `arg` is a number or a calculation, add it to `args`.
* Otherwise, [serialize](#serialization) `arg` and add the result to `args` as
an unquoted string.