File tree Expand file tree Collapse file tree 4 files changed +473
-384
lines changed
examples/default/examples/ink_contracts Expand file tree Collapse file tree 4 files changed +473
-384
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ Module Result.
10
10
Φ := Ty.apply (Ty.path "core::result::Result") [Φ A; Φ B];
11
11
φ x :=
12
12
match x with
13
- | inl e => Value.StructTuple "core::result::Result::Err " [φ e ]
14
- | inr x => Value.StructTuple "core::result::Result::Ok " [φ x ]
13
+ | inl x => Value.StructTuple "core::result::Result::Ok " [φ x ]
14
+ | inr e => Value.StructTuple "core::result::Result::Err " [φ e ]
15
15
end ;
16
16
}.
17
17
End Result.
Original file line number Diff line number Diff line change @@ -50,5 +50,5 @@ Module Impl_Mapping_t_K_V.
50
50
51
51
Axiom AssociatedFunction_insert :
52
52
forall (K V : Ty.t),
53
- M.IsAssociatedFunction (Self K V) "insert" (get K V).
53
+ M.IsAssociatedFunction (Self K V) "insert" (insert K V).
54
54
End Impl_Mapping_t_K_V.
You can’t perform that action at this time.
0 commit comments