Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Support toying with Caprese #1075

Open
scf37 opened this issue Mar 27, 2024 · 1 comment
Open

Feature request: Support toying with Caprese #1075

scf37 opened this issue Mar 27, 2024 · 1 comment

Comments

@scf37
Copy link

scf37 commented Mar 27, 2024

This does not work in Scastie:

import language.experimental.captureChecking // this language import is only allowed at the toplevel

Maybe detect those special imports and rewrite snippet so they are moved to top level?

@rochala
Copy link
Collaborator

rochala commented Mar 28, 2024

Hey, that would be perfect. The problem is I may not find time for this in the near future.
For now, I recommend you to use non-worksheet mode, as it won't wrap your code into a worksheet wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants