calling a procedure without parameters should have empty ()

This commit is contained in:
Stefan Maroń 2021-12-15 07:59:20 +01:00 committed by GitHub
parent 34c84872b8
commit 0fde42cc6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ weight = 1270
```al ```al
procedure SomeProcedure() procedure SomeProcedure()
begin begin
if IsAdjmtBinCodeChanged then if IsAdjmtBinCodeChanged() then
Error(AdjmtBinCodeChangeNotAllowedErr,...) Error(AdjmtBinCodeChangeNotAllowedErr,...)
else else
Error(BinCodeChangeNotAllowedErr,...); Error(BinCodeChangeNotAllowedErr,...);
@ -24,7 +24,7 @@ weight = 1270
```al ```al
procedure SomeProcedure() procedure SomeProcedure()
begin begin
if IsAdjmtBinCodeChanged then if IsAdjmtBinCodeChanged() then
Error(AdjmtBinCodeChangeNotAllowedErr,...) Error(AdjmtBinCodeChangeNotAllowedErr,...)
Error(BinCodeChangeNotAllowedErr,...); Error(BinCodeChangeNotAllowedErr,...);
end; end;