JIM-GLITCH / mercury-ls

7 stars 0 forks source link

Incorrect Error: "module term's arity should be zero" #1

Open marcgehman opened 1 month ago

marcgehman commented 1 month ago

Hello, the language server seems to be incorrectly highlighting the import_module. The compiler still runs, so it seems like a parsing error from the language server.

Screenshot from 2024-09-17 16-17-29

ClarkeRemy commented 2 days ago

I have the exact same issue, I assume from the same tutorial. https://mercurylang.org/documentation/papers/book.pdf

I'd be interested in knowing where I look in the source code this is dealt with.