GithubHelp home page GithubHelp logo

Comments (4)

greghendershott avatar greghendershott commented on June 12, 2024

Thanks for the report!

Unfortunately, I can't reproduce that, so far. First I tried literally what you said:

#lang racket
(require racket/stxparam)
(module+ test (require rackunit))

And it did the following, which is correct since racket/stxparam isn't used:

#lang racket/base

(module+ test (require rackunit))

Next, trying to guess what your file was really, like, from the fact that it kept racket/stxparam as a require, I tried adding some actual usage of it:

#lang racket
(require racket/stxparam)
(module+ test (require rackunit))
(define-syntax-parameter foo #f)

and it did the following, which is correct:

#lang racket/base
(require (for-syntax racket/base)
         racket/stxparam)

(module+ test (require rackunit))
(define-syntax-parameter foo #f)

So... I'm not sure what to do. I believe you found a bug, I'm just stumped how to repro it so I can fix it. Do you have any idea what your and my examples are missing?

from racket-mode.

florence avatar florence commented on June 12, 2024

This is bizarre. For some reason I cannot reproduce it either, even by resetting to my repo to just before it failed...

The full example was:

#lang racket
(provide <some-really-long-list)

(require racket/shared (prefix-in r: racket))
(require racket/stxparam)
(require (for-syntax syntax/parse))
(module+ test (require rackunit))

from racket-mode.

greghendershott avatar greghendershott commented on June 12, 2024

That's OK, mainly thanks for the exact full example. At least that will help me try some "random" things -- like having point in various locations or having some active region in effect, before running the command -- that might elicit the bug.

from racket-mode.

greghendershott avatar greghendershott commented on June 12, 2024

I'm working through open issues. I'm not sure what to do about this one, since neither of us can reproduce it.

I think I'm going to go ahead and close it, now. However of course please re-open it if you experience it again (even if you still don't have a clear recipe to repro it).

from racket-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.