AL icon indicating copy to clipboard operation
AL copied to clipboard

Wrong capitalization of object types on "Implement interface"

Open NKarolak opened this issue 1 year ago • 0 comments

1. Describe the bug Code action "Implement interfaces" uses a wrong capitalization of object types within parameters.

2. To Reproduce Steps to reproduce the behavior:

  1. Create the following interface
interface MyInterface
{
    procedure Test(TestEnum: Enum "AFS Write"; var SalesPost: Codeunit "Sales-Post")
}
  1. Create the following empty codeunit:
codeunit 50000 MyImpl implements MyInterface
{
}
  1. On the first codeunit line, run code action "Implement interface".

3. Expected behavior Implemented procedure:

    procedure Test(TestEnum: Enum System.Azure.Storage.Files."AFS Write"; var SalesPost: Codeunit Microsoft.Sales.Posting."Sales-Post")
    begin

    end;

4. Actual behavior

Implemented procedure:

    procedure Test(TestEnum: enum System.Azure.Storage.Files."AFS Write"; var SalesPost: codeunit Microsoft.Sales.Posting."Sales-Post")
    begin

    end;

5. Versions:

  • AL Language: 13.0.971907

NKarolak avatar Mar 27 '24 12:03 NKarolak