Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filter out
CompileError::UnknownVariable
errors when CONTRACT_ID
…
…isn't injected into namespace (FuelLabs#4727) ## Description When `CONTRACT_ID` is used in a test, the compiler returns `CompileError::UnknownVariable` to LSP as `CONTRACT_ID` is only injected into the namespace during building and not checking. As such, we are filtering out these warnings in the language server so they do not appear to the end user. closes FuelLabs/sway-vscode-plugin#154
- Loading branch information