-
Notifications
You must be signed in to change notification settings - Fork 0
Move to Libadalang25 #12
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
Open
pjljvandelaar
wants to merge
10
commits into
main
Choose a base branch
from
libadalang25
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since libadalang 23, the Ada_Type_Decl is no longer an enumeration value of Ada_Node_Kind_Type, but an enumeration range thereof:
subtype Ada_Type_Decl is Ada_Node_Kind_Type
range Ada_Anonymous_Type_Decl .. Ada_Formal_Type_Decl;
This enumeration range includes the following 4 values:
Ada_Anonymous_Type_Decl, Ada_Synth_Anonymous_Type_Decl, Ada_Concrete_Type_Decl, and Ada_Formal_Type_Decl
extraction-bodies_for_entries.adb:27:57: error: no selector "F_Name" for private type "Accept_Stmt" defined at libadalang-analysis.ads:300 Accept_Stmt provides P_Corresponding_Entry, hence we don't need F_Name anymore to find the corresponding refenced declaration ourselves.
extraction-decl_types.adb:18:58: error: expected type "Name'Class" defined at libadalang-analysis.ads:285 extraction-decl_types.adb:18:58: error: found private type "Renaming_Clause" defined at libadalang-analysis.ads:2833 extraction-renamings.adb:34:63: error: expected private type "Name" defined at libadalang-analysis.ads:285 extraction-renamings.adb:34:63: error: found private type "Renaming_Clause" defined at libadalang-analysis.ads:2833 extraction-renamings.adb:38:60: error: expected private type "Name" defined at libadalang-analysis.ads:285 extraction-renamings.adb:38:60: error: found private type "Renaming_Clause" defined at libadalang-analysis.ads:2833 `F_Renames` of Generic (Package | Subp) Renaming Decl[arations] no longer returns a `Name` but a `Renaming_Clause`. `Name` of a `Renaming Clause` can be obtained using `F_Renamed_Object`.
We seem unable to use v4. See alire-project/setup-alire#87 Try v3 instead.
…c issue - defaulting to latest version
Default alire setting trigger an issue with too long paths on windows. See alire-project/alire#1762 Use work around (as suggested).
3 tasks
Collaborator
Author
|
Still to do - fix "example" - needs rejuvenation-ada 2025 for that! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
F_Renamesof Generic (Package | Subp) Renaming Decl[arations] no longer returns aNamebut aRenaming_Clause.This change caused the following errors
The
Nameof aRenaming Clausecan be obtained usingF_Renamed_Object.This pull request fixes these errors.