Skip to content

Commit 24e6645

Browse files
authored
docs: add additionnal info about typecheck (#4985)
1 parent bf4a66a commit 24e6645

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/src/docs/welcome/faq.mdx

+13-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,19 @@ How to troubleshoot:
4545
- [ ] Ensure you are not running an analysis on code that depends on files/packages outside the scope of the analyzed elements.
4646
- [ ] If using CGO, ensure all require system libraries are installed.
4747

48-
## Why running with `--fast` is slow on the first run
48+
## Why is it not possible to skip/ignore `typecheck` errors?
49+
50+
For mainly the same reasons that you cannot compile when you have a compiler error.
51+
52+
`typecheck` errors are reported in the same style as linter reports/issues,
53+
but are completely different because they are related to problems that block the analysis (`typecheck` is not a linter).
54+
55+
When there are `typecheck` errors,
56+
most linters are not able to perform the analysis,
57+
and they simply do not produce any reports,
58+
so it's not possible to skip/ignore `typecheck` errors.
59+
60+
## Why running with `--fast` is slow on the first run?
4961

5062
Because the first run caches type information. All subsequent runs will be fast.
5163
Usually this options is used during development on local machine and compilation was already performed.

0 commit comments

Comments
 (0)