More than one non-numeric character in a vector component causes RuntimeError: unreachable
MATOO-Dev opened this issue · comments
MATOO commented
Obsidian version: v1.5.12
Obsidian-wypst version: 0.0.3
Vectors that contain more than one non-numeric character in any component cause a "RuntimeError: unreachable"
Vectors that contain purely digits are fine, e.g. vec(111,222)
Vectors that contain single non-numeric characters per component also work fine, e.g. vec(n,k)
The problem arises when there are multiple such characters in a component (or a digit + non-numeric).
Examples:
vec(2, 2x)
vec(2, 2-1)
vec(2, n-k)
vec(2, [n])
vec(2, n!)
All result in "Runtime Error: Unreachable"
However, something like
vec(2, n_2)
dots.v
does not cause the error