1. Describe the bug
From version 21.0.40246.0 we´re getting an AL0157 error when declaring a variable of type ControlAddIn, that code has compiled well for the last two years until now.
2. To Reproduce
Create a variable of type ControlAddIn inside a codeunit.
3. Expected behavior
Compile without errors.
4. Actual behavior
AL0157 compiler error.
5. Versions:
- AL Language: v10.0.608152
- Visual Studio Code: 1.67.2
- Business Central: Platform 21.0.40964.0 + Application 21.0.41052.0
1. Describe the bug
From version 21.0.40246.0 we´re getting an AL0157 error when declaring a variable of type ControlAddIn, that code has compiled well for the last two years until now.
2. To Reproduce
Create a variable of type ControlAddIn inside a codeunit.
3. Expected behavior
Compile without errors.
4. Actual behavior
AL0157 compiler error.
5. Versions: