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

Formatter removes judoc comment for aliases #3063

Open
heueristik opened this issue Sep 26, 2024 · 0 comments
Open

Formatter removes judoc comment for aliases #3063

heueristik opened this issue Sep 26, 2024 · 0 comments

Comments

@heueristik
Copy link

heueristik commented Sep 26, 2024

The formatter removes judoc comments for syntax aliases.

  • Juvix v0.6.6-e4559bb

To Reproduce

  1. Create a file with the following content and format it
import Stdlib.Prelude open;

--- The resource value type.
axiom Value : Type;
  1. Replace the axiom with a syntax alias and format again.
- axiom Value : Type;
+ syntax alias Value := Nat;
  1. observe the judoc comment being removed.

Expected behavior
The judoc comment should stay.

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

No branches or pull requests

2 participants