Skip to content

at-exp broken parsing #154

@elibarzilay

Description

@elibarzilay

(Not sure whether this should go here or to the language server, so feel free to forward it there if needed.)

Looks like using a vertical bar breaks syntax highlighting. See the minimal example at the bottom.

  • The 111 comment is fine, but the 222 comment is broken (shows in plain white).

  • Changing the at-exp contents to @list{x|y|z} restores order.

  • Possibly related: @list|--{xyz}--| works, but the extra -s are mis-highlighted.

Environment

  • OS: Ubuntu, via WSL
  • OS Version: 22.04 (jammy)
  • VS Code Version: 1.107.1
  • Racket version: v8.15 [cs]
  • Racket Langserver checksum: d8c986e8240481d187b81b0ea65a65483fba2ca1
  • Magic Racket version: 0.8.0

Error message

(none)


Minimal example

#lang at-exp racket
;; 111
@list{x|y}
;; 222

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