Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

analyse/debug/assert-type

In the analyse-basic preset and every stricter one. Report only.

What it does

Reports each assertType(), assertNativeType(), assertSuperType() or assertVariableCertainty() call that does not hold. Ignore comments and baselines cannot suppress these diagnostics.

Configuration

[analyse.rules]
"debug/assert-type" = "on"

Ignore comments and baselines cannot suppress it.

Replaces

More analyse/debug rules · Edit this page

Last updated on

Was this page helpful?