summaryrefslogtreecommitdiff
path: root/tests/lean
diff options
context:
space:
mode:
authorSon HO2024-06-13 15:19:11 +0200
committerGitHub2024-06-13 15:19:11 +0200
commit234fa36da87b672397f96098bcf832d869f2cfbb (patch)
treeafb669e46c958fc516b8441278a006582d7f2400 /tests/lean
parent40e79f1fd64a6535334b1af19a817b27a9a0296c (diff)
parent87d088fa9e4493f32ae3f8d447ff1ff6d44e6396 (diff)
Merge pull request #242 from AeneasVerif/son/scalars2
Update the scalar notations for the Lean backend
Diffstat (limited to 'tests/lean')
-rw-r--r--tests/lean/Matches.lean4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lean/Matches.lean b/tests/lean/Matches.lean
index 3e3a558b..9233841b 100644
--- a/tests/lean/Matches.lean
+++ b/tests/lean/Matches.lean
@@ -9,8 +9,8 @@ namespace matches
Source: 'tests/src/matches.rs', lines 4:0-4:27 -/
def match_u32 (x : U32) : Result U32 :=
match x with
- | 0#u32 => Result.ok 0#u32
- | 1#u32 => Result.ok 1#u32
+ | 0#scalar => Result.ok 0#u32
+ | 1#scalar => Result.ok 1#u32
| _ => Result.ok 2#u32
end matches