We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
textDocument/documentSymbol
#lang racket (provide USER LOG) (define USER (make-parameter "nobody")) (define (LOG . as) (with-output-to-file "log.txt" #:exists 'append (lambda () (printf "~a: ~a\n" (USER) (apply format as)))))
All lines are indented, no error occurs.
All lines are indented, but for some reason the lang server also shows this error:
Caught exn in request "textDocument/documentSymbol" rest: contract violation expected: (and/c list? (not/c empty?)) given: #<void> context...: /Users/jryans/Projects/Racket/racket-langserver/text-document.rkt:232:0: get-symbols /Users/jryans/Projects/Racket/racket-langserver/text-document.rkt:463:0: document-symbol /Applications/Racket v8.8/collects/racket/contract/private/arrow-val-first.rkt:486:18 /Users/jryans/Projects/Racket/racket-langserver/methods.rkt:26:0: process-message /Applications/Racket v8.8/collects/racket/contract/private/arrow-val-first.rkt:486:18 /Users/jryans/Projects/Racket/racket-langserver/main.rkt:60:2: consume
If you do the same in a unsaved buffer, this does not happen.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
Expected
All lines are indented, no error occurs.
Actual
All lines are indented, but for some reason the lang server also shows this error:
If you do the same in a unsaved buffer, this does not happen.
The text was updated successfully, but these errors were encountered: