Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array comprehension formatting failure (gnatpp) #33

Open
yrashk opened this issue Feb 21, 2024 · 0 comments
Open

Array comprehension formatting failure (gnatpp) #33

yrashk opened this issue Feb 21, 2024 · 0 comments

Comments

@yrashk
Copy link

yrashk commented Feb 21, 2024

Given this source:

procedure hello is
begin
   A := [for I in 1..10 => I];
   null;
end hello;

gnatpp 23.0.0 doesn't touch the expression and quietly quits, failing to format the file.

24.0.0 fails with: "test.ada:2:1: Error formatting node (CompilationUnitList). Keeping the initial input selection unchanged
pp-actions.adb:5877"

Is it an intentional behaviour or an omission?

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

No branches or pull requests

1 participant