Wrong use of ProceedWithCall function (WrongUseFunctionProceedWithCall)¶
| Type | Scope | Severity | Activated by default  | 
Minutes to fix  | 
Tags | 
|---|---|---|---|---|---|
Error | 
BSL | 
Blocker | 
Yes | 
1 | 
errorsuspicious | 
Description¶
Using the ProceedWithCall function outside of extension methods with the &Around annotation will result in a run-time error.
Examples¶
&AtClient
Procedure Test()
    // copy-past from extension
    ProceedWithCall(); // Срабатывание здесь
EndProcedure
Sources¶
Source: Extensions. Functionality -> Modules (RU)
Snippets¶
Diagnostic ignorance in code¶
// BSLLS:WrongUseFunctionProceedWithCall-off
// BSLLS:WrongUseFunctionProceedWithCall-on
Parameter for config¶
"WrongUseFunctionProceedWithCall": false