Skip to content

Shadow scripts contain the version of Racket #31

@maueroats

Description

@maueroats

I recently discovered that a shadow script contains a line the specific version of Racket in which it was created. Note the 8.4 in the line below.

(require quickscript
         (prefix-in shadow: (file "/home/user/.local/share/racket/8.4/pkgs/quickscript-extra/scripts/sections.rkt")))

In this case, it was very surprising to me that deleting the Racket 8.4 files caused me to get errors on startup in Racket 8.15. Fortunately it was not hard to debug, so I suppose one should not spend too long fixing it.

If you don't have a better suggestion, consider including a warning in the documentation for shadow scripts. Generating a warning on first startup of a new version of Racket would be even better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions