Comments (4)
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.
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.
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.
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)
- Syntax error tooltip doesn't appears in viewable area HOT 2
- Reloading modified code from file-less buffer HOT 4
- M-x customize racket-logger-config changes don't take effect
- memory leak in emacs-29 when running racket-run-module-at-point HOT 28
- Quotes affect REPL highlighting HOT 1
- More error context options for racket-test
- Initialize logger "all other topics" to 'fatal level
- No REPL session available HOT 3
- When starting REPL, it tries to connect to random host from ~/.ssh/config HOT 5
- Unicode affects Check Syntax HOT 37
- racket-xp-mode reports "defined locally" and imported, both? HOT 3
- Ability to configure the context for racket-racket to operate? HOT 7
- racket-hash-lang-mode not highlighting buffer with font-lock HOT 31
- Typo in documentation HOT 2
- print-as-expression in buffer has no effect HOT 2
- Invalid read causes REPL to fail HOT 9
- Test failures with very recent paredit commits HOT 1
- racket-xp-unused-face not applied to identifiers beginning with an underscore. HOT 3
- Issue viewing r5rs documents using `racket-xp-describe` HOT 1
- XREF can not find references inside Scribblings HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from racket-mode.