diff options
| author | Son Ho | 2024-03-08 09:42:29 +0100 |
|---|---|---|
| committer | Son Ho | 2024-03-08 09:42:29 +0100 |
| commit | 44248ccfe3bfb8c45e5bb434d8dfb3dfa6e6b69c (patch) | |
| tree | dd824e0ac83bb8ee885907615d972b6a522689aa /tests/lean/Traits | |
| parent | 9d541d1ab6b91e59e4f78f4711af085a33ee4f82 (diff) | |
Update the generation of constant bodies for Lean
Diffstat (limited to '')
| -rw-r--r-- | tests/lean/Traits.lean | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lean/Traits.lean b/tests/lean/Traits.lean index 3ef4febc..f83fbc2f 100644 --- a/tests/lean/Traits.lean +++ b/tests/lean/Traits.lean @@ -248,8 +248,7 @@ def traits.ToTypetraitsBoolWrapperTInst (T : Type) (ToTypeBoolTInst : ToType /- [traits::WithConstTy::LEN2] Source: 'src/traits.rs', lines 164:4-164:21 -/ def with_const_ty_len2_body : Result Usize := Result.ret 32#usize -def with_const_ty_len2_c : Usize := - eval_global with_const_ty_len2_body (by decide) +def with_const_ty_len2_c : Usize := eval_global with_const_ty_len2_body /- Trait declaration: [traits::WithConstTy] Source: 'src/traits.rs', lines 161:0-161:39 -/ @@ -264,7 +263,7 @@ structure WithConstTy (Self : Type) (LEN : Usize) where /- [traits::{bool#8}::LEN1] Source: 'src/traits.rs', lines 175:4-175:21 -/ def bool_len1_body : Result Usize := Result.ret 12#usize -def bool_len1_c : Usize := eval_global bool_len1_body (by decide) +def bool_len1_c : Usize := eval_global bool_len1_body /- [traits::{bool#8}::f]: Source: 'src/traits.rs', lines 180:4-180:39 -/ |
