Skip to content

Referencing a missing common module method (MissingCommonModuleMethod)

Type Scope Severity Activated
by default
Minutes
to fix
Tags
Error BSL Blocker Yes 5 error

Description

Diagnostics detects erroneous calls to methods of common modules. Detects the following errors - method does not exist in the specified common module - method is in the common module, but it is not exported - if a common module has no source code, then all calls to its methods are marked as erroneous

Excluded - the variable name is the same as the common module name

Examples

Sources

Snippets

Diagnostic ignorance in code

// BSLLS:MissingCommonModuleMethod-off
// BSLLS:MissingCommonModuleMethod-on

Parameter for config

"MissingCommonModuleMethod": false