Skip to content

Commit c14abe0

Browse files
Apply translations in en
translation completed for the source file '/docs/diagnostics/WrongUseFunctionProceedWithCall.md' on the 'en' language.
1 parent 92ec8dd commit c14abe0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/en/diagnostics/WrongUseFunctionProceedWithCall.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,19 @@
33
<!-- Блоки выше заполняются автоматически, не трогать -->
44
## Description
55
<!-- Описание диагностики заполняется вручную. Необходимо понятным языком описать смысл и схему работу -->
6-
You should call ProceedWithCall function only in Extensions and only methods annotated with &AROUND.
6+
7+
Using the `ProceedWithCall` function outside of extension methods with the `&Around` annotation will result in a run-time error.
78

89
## Examples
910
<!-- В данном разделе приводятся примеры, на которые диагностика срабатывает, а также можно привести пример, как можно исправить ситуацию -->
11+
1012
```bsl
1113
&AtClient
1214
Procedure Test()
13-
ProceedWithCall(); // there is error
15+
16+
// copy-past from extension
17+
ProceedWithCall(); // Срабатывание здесь
18+
1419
EndProcedure
1520
```
1621

0 commit comments

Comments
 (0)