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

Problems with compiling code snippets #3898

Closed
andrewbwogi opened this issue Apr 30, 2021 · 0 comments · Fixed by #3897
Closed

Problems with compiling code snippets #3898

andrewbwogi opened this issue Apr 30, 2021 · 0 comments · Fixed by #3897

Comments

@andrewbwogi
Copy link
Contributor

There are two problems.

  1. It is not possible to compile snippets added to a class in an unnamed package.

  2. If a snippet only contains a comment it can produce the wrong code when it is compiled.

There is a failing test case for each problem in #3897. I'll try to fix this.

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

Successfully merging a pull request may close this issue.

1 participant