mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Update tests
This commit is contained in:
parent
f8cd56da41
commit
17f53a23a5
20 changed files with 496 additions and 496 deletions
|
@ -6166,11 +6166,11 @@ mod solve_expr {
|
|||
|
||||
mulHashes = \x, y -> hash x * hash y
|
||||
|
||||
Id := U64
|
||||
hash = \@Id n -> n
|
||||
Id := U64 has [Hash { hash: hashId }]
|
||||
hashId = \@Id n -> n
|
||||
|
||||
Three := {}
|
||||
hash = \@Three _ -> 3
|
||||
Three := {} has [Hash { hash: hashThree }]
|
||||
hashThree = \@Three _ -> 3
|
||||
|
||||
result = mulHashes (@Id 100) (@Three {})
|
||||
"#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue