Skip to content

CommonModuleAssign (CommonModuleAssign)

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

Description

Setting a value to a common module throws exception. Such situation is possible when a common module is added to the configuration with a name that has already been used for the variable.

Examples

Sources

Snippets

Diagnostic ignorance in code

// BSLLS:CommonModuleAssign-off
// BSLLS:CommonModuleAssign-on

Parameter for config

"CommonModuleAssign": false