Replies: 1 comment 3 replies
-
Hmm, your code looks correct to me. A guess would be that the warnings you want to see are in uninstantiated modules? The set of diagnostics slang will issue for those modules is limited because they don't always make sense when not part of the elaborated design tree. Do you have an example source file that you want to see warnings for? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi !
In my effort to make a language server using Slang, I am having an issue to get warnings which are not related to the syntax such as
I, however, do get any syntax error, duplicated files problems and such as expected but cannot manage to have "lint" warnings to be emitted by slang.
Would you have some pointer in troubleshooting this problem ?
I use the following code, called each time the workspace is re-evaluated to check for new problems (where
slsp
is my project namespace).There is no expected diagnostic filtering on the diagnostic client.
For reference, the code is this one, more or less some minor details.
Beta Was this translation helpful? Give feedback.
All reactions