Edamame row output question #80
Unanswered
robert-stuttaford
asked this question in
Q&A
Replies: 2 comments 10 replies
-
@robert-stuttaford I don't understand the question. Can you give a minimal repro in working code, with actual + expected output? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Simple repro: {
:x (
{ ;; offending error
{:a 1}
)
}
{ :end-location true
:end-row-key :end-row
:row-key :row
:col-key :col
:source-key :source
:edamame.impl.parser/expected-delimiter "}"
:type :edamame/error
:edamame.impl.parser/opened-delimiter { :char "{"
:row 3
:col 6 }
:col 6
:end-col-key :end-col
:row 6 } |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using edamame to parse EDN and report on errors (which is rad), noticed a discrepancy.
(I recognise this may be totally correct behaviour).
Here's the output - correct
:row
of 11 is inside the:edamame.impl.parser/opened-delimiter
key, but the row of the end of the containing seq (18) is in the top level:row
.I'm hoping to simply use the top level
:row
value in guiding the user, and, ideally, in this case, it'd be great if it was that 11 from the inner map.Beta Was this translation helpful? Give feedback.
All reactions