Skip to content

match error for import not in scope #70

@quasarbright

Description

@quasarbright

When an import is ellipsized and not used in a scope in an exporting nonterminal, we get an error in terms of match instead of saying "import must be used in a scope"

(syntax-spec
  (nonterminal/exporting my-expr
    (foo body:racket-body ...)
    #:binding [(import body) ...]))
match: no matching clause for (imports ... (list (ellipsis ... (import ... #<pvar>))))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions