Skip to content

Fix bugs causing spurious diffs on updates without changes#1550

Merged
mosteo merged 2 commits into
masterfrom
fix/null-update
Jan 31, 2024
Merged

Fix bugs causing spurious diffs on updates without changes#1550
mosteo merged 2 commits into
masterfrom
fix/null-update

Conversation

@mosteo

@mosteo mosteo commented Jan 28, 2024

Copy link
Copy Markdown
Member

Some types internally where using pointers instead of pointed objects for comparison.

Fixes unrelated bug in dealing with empty error messages (we never generate those, but some Ada 2022 'Image do).

Fixes #1278

Solutions were the same, but some types internally where using pointers instead
of pointed objects for comparison.

WIP
@mosteo mosteo marked this pull request as ready for review January 29, 2024 10:17
Comment thread alire_common.gpr
"-gnaty-s"); -- relax fwd decl
when "disabled" => Style_Check_Switches := ();
when "disabled" => Style_Check_Switches :=
("-gnat2022",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think it's good to change language version when disabling style checks.
I fear this is going to have unexpected consequences that will make your life harder.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Let's make it a separate scenario then. In any case all of our checks have checks enabled so it shouldn't slip through.

@mosteo mosteo merged commit f850edd into master Jan 31, 2024
@mosteo mosteo deleted the fix/null-update branch January 31, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't ask if user wants to proceed if there are no changes

2 participants