Skip to content

Commit

Permalink
Merge branch '14-dev-mode-build-failure-with-alire-due-to-warnings' i…
Browse files Browse the repository at this point in the history
…nto 'master'

Resolve "Dev mode build failure with alire due to warnings"

Closes #14

See merge request eng/ide/libadalang-tools!32
  • Loading branch information
joaopsazevedo committed Jan 31, 2023
2 parents b64afac + 817f600 commit df37ad9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lint/lint-tools-relocate_decls_tool.adb
Expand Up @@ -456,7 +456,7 @@ package body Lint.Tools.Relocate_Decls_Tool is
Tmp_Text := Null_Unbounded_String;
declare
Delete_Lenth : Integer;
Tmp_String : String := Text.Image (Obj.Text);
Tmp_String : constant String := Text.Image (Obj.Text);
begin
Delete_Lenth := Integer (Obj.F_Ids.Sloc_Range.End_Column -
Obj.Sloc_Range.Start_Column) + 1;
Expand Down
2 changes: 1 addition & 1 deletion src/lint/lint-tools-scope_declarations_tool.adb
Expand Up @@ -379,7 +379,7 @@ package body Lint.Tools.Scope_Declarations_Tool is
Tmp_Text := Null_Unbounded_String;
declare
Delete_Lenth : Integer;
Tmp_String : String := Text.Image (Obj.Text);
Tmp_String : constant String := Text.Image (Obj.Text);
begin
Delete_Lenth := Integer (Obj.F_Ids.Sloc_Range.End_Column -
Obj.Sloc_Range.Start_Column) + 1;
Expand Down

1 comment on commit df37ad9

@simonjwright
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see note on #14.

Please sign in to comment.