Skip to content

Error on assert for syntax quoted elements during slurp or barf operations #317

Open
@openvest

Description

Version
version 1.1.48

Symptom
Cannot slurp or barf, forward or backward in a syntax quoted element
| indicating the cursor, see:

[:left '[foo| bar]  :right]

Related is trying to slurp forward from:

@(def | x) 42

Actual behavior
assertion error is thrown

Diagnosis
assertion error is inside QuoteNode creation

Action
I know that there has been discussion in a separate thread about asserts; but here it looks to be harmful to the cause.

BTW: Thanks for the great library. It is adding paredit functionality to repl-balance (an update of rebel-readine)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions