Last active
February 5, 2024 01:04
-
-
Save cbvi/d67841603f9234503216144c2561ee12 to your computer and use it in GitHub Desktop.
This file contains 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
diff --git a/src/alire/alire-properties-from_toml.adb b/src/alire/alire-properties-from_toml.adb | |
index 44e020ea..dabd940c 100644 | |
--- a/src/alire/alire-properties-from_toml.adb | |
+++ b/src/alire/alire-properties-from_toml.adb | |
@@ -17,8 +17,9 @@ package body Alire.Properties.From_TOML is | |
Strict : Boolean) | |
return Conditional.Properties | |
is | |
+ Props : Conditional.Properties; | |
begin | |
- return Props : Conditional.Properties do | |
+ -- return Props : Conditional.Properties do | |
loop | |
declare | |
function Is_Valid is | |
@@ -29,7 +30,7 @@ package body Alire.Properties.From_TOML is | |
Ada_Key : constant String := TOML_Adapters.Adafy (Key); | |
begin | |
if Key = "" then | |
- return; -- No more keys | |
+ return Props; -- No more keys | |
end if; | |
-- Extract property name from string | |
@@ -102,7 +103,7 @@ package body Alire.Properties.From_TOML is | |
end loop Process_Property; | |
end; | |
end loop; | |
- end return; | |
+ -- end return; | |
end Loader; | |
end Alire.Properties.From_TOML; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment