Skip to content

at-exp broken parsing #154

Open
Open

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

Activity

  1. jryans commented on Jan 15, 2026

    @jryans
    Collaborator

    Ah yes, this is the correct repo, thanks for the report.

    I am not seeing any special handling of these expressions in the current syntax, so most likely patterns for this just need to be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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