racket / racket/errortrace

VSCode Load File in REPL error: readline-input:1:0: #%top-interaction: unbound identifier

Open
#31 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
8
Forks
14
PR merge metrics
No merged PRs in 30d

Description

When I use the Load File in REPL command on an otherwise empty Racket file:

#lang errortrace racket

It runs the following command:

racket --repl --eval '(enter! (file "/Users/gus/tmp0.rkt"))'

The REPL loads, but when I run any command in the REPL I get the following error:

"racket/tmp0.rkt"> 1
; readline-input:1:0: #%top-interaction: unbound identifier;
;  also, no #%app syntax transformer is bound
;   at: #%top-interaction
;   in: (#%top-interaction . 1)
; [,bt for context]

Can this be fixed?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue from the VSCode Load File in REPL command using the shown empty errortrace Racket file and generated racket --repl --eval command. Start by tracing that command's REPL initialization, then verify that ordinary REPL input no longer reports an unbound #%top-interaction identifier.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
cli, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.