diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2023-04-25 05:24:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-25 11:24:07 +0200 |
| commit | 62361b4127c39fc1b165b81f24f52b14ddaa41db (patch) | |
| tree | 830f1ef69e77c9e9fbab2337f05136fa69ed0755 /tests/typ/compiler | |
| parent | fb99090208c9aface707f9d4526f411fcb67f705 (diff) | |
Support indices preceding the base symbol, revamping #699 (#825)
Breaking change: abbreviate attach() attachment params, top -> t, bottom -> b
Diffstat (limited to 'tests/typ/compiler')
| -rw-r--r-- | tests/typ/compiler/content-field.typ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/compiler/content-field.typ b/tests/typ/compiler/content-field.typ index 031a65b8..1d3dceb7 100644 --- a/tests/typ/compiler/content-field.typ +++ b/tests/typ/compiler/content-field.typ @@ -15,8 +15,8 @@ } } else if func == math.attach { let value = f(elem.base) - if elem.has("top") { - value = calc.pow(value, f(elem.top)) + if elem.has("t") { + value = calc.pow(value, f(elem.t)) } value } else if elem.has("children") { |
