Hello,

I would like to report something that I see as
inconsistent behavior of the bytecode compiler.
The following short program (an artificial minimal
reproducible example) works at first, but fails
after raco make. My OS is Linux.



$ cat one.rkt
#lang racket

(require (for-syntax syntax/parse racket/fixnum))

(define-syntax (macro stx)
  (syntax-parse stx
    (({~literal macro})
     (let ((v (fxvector 5)))
       (with-syntax ((v v))
         (quasisyntax/loc stx
           (begin
             (define v-name v)
             'OK)))))))

(macro)

$ racket one.rkt
'OK

$ raco make one.rkt

$ racket one.rkt
read: bad syntax `#fx'
  in: compiled/one_rkt.zo
  context...:
   read-linklet-or-directory
   read-dispatch
   read
   default-load-handler
   standard-module-name-resolver
   module-path-index-resolve
   [repeats 1 more time]
   module-declared?


$ racket -v
Welcome to Racket v7.2.


Best regards,

Dmitry

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/c8d25d54-e69e-ba45-9e78-4bd8366fa51f%40iaaras.ru.
For more options, visit https://groups.google.com/d/optout.

Reply via email to