From 8b3713d2fb9647f257af19bdfba968baeba04272 Mon Sep 17 00:00:00 2001 From: Faizan Date: Fri, 13 Dec 2024 17:08:25 +0530 Subject: [PATCH 1/2] fix: include missing value in dict.values() result --- lib/aiken/collection/dict.ak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/aiken/collection/dict.ak b/lib/aiken/collection/dict.ak index ca395dc..d516d85 100644 --- a/lib/aiken/collection/dict.ak +++ b/lib/aiken/collection/dict.ak @@ -497,7 +497,7 @@ test size_3() { /// |> dict.insert("c", 1337) /// |> dict.values() /// -/// result == [1337, 42] +/// result == [14, 42, 1337] /// ``` pub fn values(self: Dict) -> List { do_values(self.inner) From 7857ba64b8e5ca10be9f3d570b24d1e7b61b0990 Mon Sep 17 00:00:00 2001 From: Matthias Benkort <5680256+KtorZ@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:30:47 +0100 Subject: [PATCH 2/2] Update lib/aiken/collection/dict.ak --- lib/aiken/collection/dict.ak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/aiken/collection/dict.ak b/lib/aiken/collection/dict.ak index d516d85..96bf7b9 100644 --- a/lib/aiken/collection/dict.ak +++ b/lib/aiken/collection/dict.ak @@ -497,7 +497,7 @@ test size_3() { /// |> dict.insert("c", 1337) /// |> dict.values() /// -/// result == [14, 42, 1337] +/// result == [14, 42, 1337] /// ``` pub fn values(self: Dict) -> List { do_values(self.inner)