Skip to content

Commit

Permalink
Merge pull request #104 from Cryptonean/dict-value
Browse files Browse the repository at this point in the history
fix: include missing value in dict.values() result
  • Loading branch information
KtorZ authored Dec 13, 2024
2 parents 7a950f9 + 7857ba6 commit 0221fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aiken/collection/dict.ak
Original file line number Diff line number Diff line change
Expand Up @@ -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<key, value>) -> List<value> {
do_values(self.inner)
Expand Down

0 comments on commit 0221fdd

Please sign in to comment.