Failure when running from the command-line #3

Closed
opened 2016-03-30 17:20:32 +01:00 by SuzanneSoy · 0 comments
SuzanneSoy commented 2016-03-30 17:20:32 +01:00 (Migrated from github.com)
#lang repltest racket
> (+ 1 1)
2

Running the file above with racket myfile.rkt produces an error:

dynamic-require: unknown module
  module name: #<resolved-module-path:'myfile>
  context...:
   /nix/store/kkxy912zqmz950vc4kdgsq39rfvgpz29-racket-6.4.0.8/share/racket/collects/racket/rerequire.rkt:18:0: rerequire
   /nix/store/kkxy912zqmz950vc4kdgsq39rfvgpz29-racket-6.4.0.8/share/racket/collects/racket/private/more-scheme.rkt:261:28
   /nix/store/kkxy912zqmz950vc4kdgsq39rfvgpz29-racket-6.4.0.8/share/racket/collects/racket/enter.rkt:54:0: dynamic-enter!6
   /home/georges/phc/racket-packages/repltest/lang/reader.rkt:55:0: run-interactions
   /home/georges/phc/racket-packages/repltest/lang/reader.rkt:89:0
``` #lang repltest racket > (+ 1 1) 2 ``` Running the file above with `racket myfile.rkt` produces an error: ``` dynamic-require: unknown module module name: #<resolved-module-path:'myfile> context...: /nix/store/kkxy912zqmz950vc4kdgsq39rfvgpz29-racket-6.4.0.8/share/racket/collects/racket/rerequire.rkt:18:0: rerequire /nix/store/kkxy912zqmz950vc4kdgsq39rfvgpz29-racket-6.4.0.8/share/racket/collects/racket/private/more-scheme.rkt:261:28 /nix/store/kkxy912zqmz950vc4kdgsq39rfvgpz29-racket-6.4.0.8/share/racket/collects/racket/enter.rkt:54:0: dynamic-enter!6 /home/georges/phc/racket-packages/repltest/lang/reader.rkt:55:0: run-interactions /home/georges/phc/racket-packages/repltest/lang/reader.rkt:89:0 ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: suzanne.soy/repltest#3
No description provided.