You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the way, running findIndentation on the code gives very reasonable results, namely { '11': 1, '24': 1, '28': -1, '41': 1, '42': -2 }, which are exactly the expected indents and dedents.
Here is an example modified from https://github.com/ohmjs/ohm/blob/main/examples/indentation-sensitive/index.js, that I would expect to work. Note that
Block
has been changed to takeExpr+
instead of a singleExpr
.The first two examples in
examples
work, however the third (rather trivial) example gives this error:Similarly, any actual dedent onto a previous level seems to issue this problem.
The text was updated successfully, but these errors were encountered: