Skip to content

Commit 0f26c35

Browse files
committed
chore(engine/phases): Drop_metasized: update test snapshots
1 parent a12e668 commit 0f26c35

12 files changed

+12
-64
lines changed

test-harness/src/snapshots/toolchain__attribute-opaque into-fstar.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ val ff_pre_post (x y: bool)
119119
result =. y)
120120

121121
class t_T (v_Self: Type0) = {
122-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
123122
f_U:Type0;
124123
f_c:u8;
125124
f_d_pre:Prims.unit -> Type0;
@@ -134,7 +133,6 @@ class t_T (v_Self: Type0) = {
134133
val impl_T_for_u8:t_T u8
135134

136135
class t_TrGeneric (v_Self: Type0) (v_U: Type0) = {
137-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
138136
[@@@ FStar.Tactics.Typeclasses.no_method]_super_17240578109911634293:Core.Clone.t_Clone v_U;
139137
f_f_pre:v_U -> Type0;
140138
f_f_post:v_U -> v_Self -> Type0;

test-harness/src/snapshots/toolchain__attributes into-fstar.snap

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ open Core
155155
open FStar.Mul
156156

157157
class t_T (v_Self: Type0) = {
158-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
159158
f_v_pre:v_Self -> Type0;
160159
f_v_post:x: v_Self -> x_future: v_Self -> pred: Type0{pred ==> true};
161160
f_v:x0: v_Self -> Prims.Pure v_Self (f_v_pre x0) (fun result -> f_v_post x0 result)
@@ -215,7 +214,6 @@ let impl_SafeIndex__as_usize (self: t_SafeIndex) : usize = self.f_i
215214
let impl_1 (#v_T: Type0) : Core.Ops.Index.t_Index (t_Array v_T (mk_usize 10)) t_SafeIndex =
216215
{
217216
f_Output = v_T;
218-
f_Output_6696274936538609082 = FStar.Tactics.Typeclasses.solve;
219217
f_index_pre = (fun (self: t_Array v_T (mk_usize 10)) (index: t_SafeIndex) -> true);
220218
f_index_post = (fun (self: t_Array v_T (mk_usize 10)) (index: t_SafeIndex) (out: v_T) -> true);
221219
f_index = fun (self: t_Array v_T (mk_usize 10)) (index: t_SafeIndex) -> self.[ index.f_i ]
@@ -252,7 +250,6 @@ open Core
252250
open FStar.Mul
253251

254252
class t_Operation (v_Self: Type0) = {
255-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
256253
f_double_pre:x: u8
257254
-> pred:
258255
Type0
@@ -309,7 +306,6 @@ let impl_Operation_for_ViaMul: t_Operation t_ViaMul =
309306
}
310307

311308
class t_TraitWithRequiresAndEnsures (v_Self: Type0) = {
312-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
313309
f_method_pre:self_: v_Self -> x: u8 -> pred: Type0{x <. mk_u8 100 ==> pred};
314310
f_method_post:self_: v_Self -> x: u8 -> r: u8 -> pred: Type0{pred ==> r >. mk_u8 88};
315311
f_method:x0: v_Self -> x1: u8
@@ -404,7 +400,6 @@ let mutation_example
404400
let impl: Core.Ops.Index.t_Index t_MyArray usize =
405401
{
406402
f_Output = u8;
407-
f_Output_6696274936538609082 = FStar.Tactics.Typeclasses.solve;
408403
f_index_pre = (fun (self_: t_MyArray) (index: usize) -> index <. v_MAX);
409404
f_index_post = (fun (self: t_MyArray) (index: usize) (out: u8) -> true);
410405
f_index = fun (self: t_MyArray) (index: usize) -> self.[ index ]
@@ -593,7 +588,6 @@ open Core
593588
open FStar.Mul
594589

595590
class t_Foo (v_Self: Type0) = {
596-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
597591
f_f_pre:x: u8 -> y: u8
598592
-> pred:
599593
Type0

test-harness/src/snapshots/toolchain__dyn into-fstar.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ open Core
3333
open FStar.Mul
3434

3535
class t_Printable (v_Self: Type0) (v_S: Type0) = {
36-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
3736
f_stringify_pre:v_Self -> Type0;
3837
f_stringify_post:v_Self -> v_S -> Type0;
3938
f_stringify:x0: v_Self

test-harness/src/snapshots/toolchain__functions into-fstar.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ type t_CallableViaDeref = | CallableViaDeref : t_CallableViaDeref
3838
let impl: Core.Ops.Deref.t_Deref t_CallableViaDeref =
3939
{
4040
f_Target = Prims.unit -> bool;
41-
f_Target_4695674276362814091 = FStar.Tactics.Typeclasses.solve;
4241
f_deref_pre = (fun (self: t_CallableViaDeref) -> true);
4342
f_deref_post = (fun (self: t_CallableViaDeref) (out: (Prims.unit -> bool)) -> true);
4443
f_deref

test-harness/src/snapshots/toolchain__generics into-fstar.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ let call_g (_: Prims.unit) : usize =
157157
mk_usize 3
158158

159159
class t_Foo (v_Self: Type0) = {
160-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
161160
f_const_add_pre:v_N: usize -> v_Self -> Type0;
162161
f_const_add_post:v_N: usize -> v_Self -> usize -> Type0;
163162
f_const_add:v_N: usize -> x0: v_Self

test-harness/src/snapshots/toolchain__include-flag into-coq.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ Record Foo_record : Type :=
5151
#[export]
5252
Notation "'Foo_Foo_record'" := Build_Foo_record.
5353

54-
Class t_Trait (v_Self : Type) `{t_MetaSized (v_Self)} : Type :=
54+
Class t_Trait (v_Self : Type) : Type :=
5555
{
5656
}.
57-
Arguments t_Trait (_) {_}.
57+
Arguments t_Trait (_).
5858

5959
Instance t_Trait_572156424 : t_Trait ((t_Foo)) :=
6060
{

test-harness/src/snapshots/toolchain__include-flag into-fstar.snap

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ open FStar.Mul
3434

3535
type t_Foo = | Foo : t_Foo
3636

37-
class t_Trait (v_Self: Type0) = {
38-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self
39-
}
37+
class t_Trait (v_Self: Type0) = { __marker_trait_t_Trait:Prims.unit }
4038

4139
[@@ FStar.Tactics.Typeclasses.tcinstance]
4240
let impl: t_Trait t_Foo = { __marker_trait = () }

test-harness/src/snapshots/toolchain__interface-only into-fstar.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ unfold
101101
let ff_generic (v_X: usize) (#v_U: Type0) = ff_generic' v_X #v_U
102102

103103
class t_T (v_Self: Type0) = {
104-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
105104
f_Assoc:Type0;
106105
f_d_pre:Prims.unit -> Type0;
107106
f_d_post:Prims.unit -> Prims.unit -> Type0;
@@ -119,7 +118,6 @@ let impl_T_for_u8: t_T u8 =
119118
}
120119

121120
class t_T2 (v_Self: Type0) = {
122-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
123121
f_d_pre:Prims.unit -> Type0;
124122
f_d_post:Prims.unit -> Prims.unit -> Type0;
125123
f_d:x0: Prims.unit -> Prims.Pure Prims.unit (f_d_pre x0) (fun result -> f_d_post x0 result)

test-harness/src/snapshots/toolchain__mut-ref-functionalization into-fstar.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ let k
269269
(Alloc.Vec.t_Vec u8 Alloc.Alloc.t_Global & u16 & Prims.unit & u64)
270270

271271
class t_FooTrait (v_Self: Type0) = {
272-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
273272
f_z_pre:v_Self -> Type0;
274273
f_z_post:v_Self -> v_Self -> Type0;
275274
f_z:x0: v_Self -> Prims.Pure v_Self (f_z_pre x0) (fun result -> f_z_post x0 result)

test-harness/src/snapshots/toolchain__naming into-fstar.snap

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -172,27 +172,21 @@ let reserved_names (v_val v_noeq v_of: u8) : u8 = (v_val +! v_noeq <: u8) +! v_o
172172

173173
type t_Arity1 (v_T: Type0) = | Arity1 : v_T -> t_Arity1 v_T
174174

175-
class t_T1 (v_Self: Type0) = {
176-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self
177-
}
175+
class t_T1 (v_Self: Type0) = { __marker_trait_t_T1:Prims.unit }
178176

179177
[@@ FStar.Tactics.Typeclasses.tcinstance]
180178
let impl_T1_for_Foo: t_T1 t_Foo = { __marker_trait = () }
181179

182180
[@@ FStar.Tactics.Typeclasses.tcinstance]
183181
let impl_T1_for_tuple_Foo_u8: t_T1 (t_Foo & u8) = { __marker_trait = () }
184182

185-
class t_T2_for_a (v_Self: Type0) = {
186-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self
187-
}
183+
class t_T2_for_a (v_Self: Type0) = { __marker_trait_t_T2_for_a:Prims.unit }
188184

189185
[@@ FStar.Tactics.Typeclasses.tcinstance]
190186
let impl_T2_ee_for_a_for_Arity1_of_tuple_Foo_u8: t_T2_for_a (t_Arity1 (t_Foo & u8)) =
191187
{ __marker_trait = () }
192188

193-
class t_T3_ee_for_a (v_Self: Type0) = {
194-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self
195-
}
189+
class t_T3_ee_for_a (v_Self: Type0) = { __marker_trait_t_T3_ee_for_a:Prims.unit }
196190

197191
[@@ FStar.Tactics.Typeclasses.tcinstance]
198192
let impl_T3_ee_e_for_a_for_Foo: t_T3_ee_for_a t_Foo = { __marker_trait = () }
@@ -220,10 +214,7 @@ let construct_structs (a b: usize) : Prims.unit =
220214

221215
let v_INHERENT_CONSTANT: usize = mk_usize 3
222216

223-
class t_FooTrait (v_Self: Type0) = {
224-
[@@@ FStar.Tactics.Typeclasses.no_method]_super_4726684624731801277:Core.Marker.t_MetaSized v_Self;
225-
f_ASSOCIATED_CONSTANT:usize
226-
}
217+
class t_FooTrait (v_Self: Type0) = { f_ASSOCIATED_CONSTANT:usize }
227218

228219
let constants
229220
(#v_T: Type0)

0 commit comments

Comments
 (0)