-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Typed variants of Alire.Config.Edit.Set #1353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to merge the feature in CLIC before this in Alire in my opinion.
@@ -22,6 +23,23 @@ package Alire.Config.Edit is | |||
Value : String; | |||
Check : CLIC.Config.Check_Import := null); | |||
|
|||
-- Typed alternatives | |||
|
|||
procedure Set_Boolean (Level : Config.Level; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these used somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet, but there are old uses of Set
that could be migrated
ab70c71
to
919b8b0
Compare
Mostly because it's too easy to mix Boolean with String
919b8b0
to
8abeff9
Compare
4ac82bf
to
c758f80
Compare
Mostly because it's too easy to mix Boolean with String now.