Skip to content

Commit

Permalink
Fix an issue with the Primitives.fst file
Browse files Browse the repository at this point in the history
  • Loading branch information
sonmarcho committed Aug 19, 2024
1 parent f7dc78f commit 7316d0b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion backends/fstar/Primitives.fst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ let scalar_shr (#ty0 #ty1 : scalar_ty)
(x : scalar ty0) (y : scalar ty1) : result (scalar ty0) =
admit()

let scalar_not #ty (x : scalar ty) : scalar_ty = admit()
let scalar_not #ty (x : scalar ty) : scalar ty = admit()

(** Cast an integer from a [src_ty] to a [tgt_ty] *)
// TODO: check the semantics of casts in Rust
Expand Down
2 changes: 1 addition & 1 deletion tests/fstar/arrays/Primitives.fst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ let scalar_shr (#ty0 #ty1 : scalar_ty)
(x : scalar ty0) (y : scalar ty1) : result (scalar ty0) =
admit()

let scalar_not #ty (x : scalar ty) : scalar_ty = admit()
let scalar_not #ty (x : scalar ty) : scalar ty = admit()

(** Cast an integer from a [src_ty] to a [tgt_ty] *)
// TODO: check the semantics of casts in Rust
Expand Down
2 changes: 1 addition & 1 deletion tests/fstar/betree/Primitives.fst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ let scalar_shr (#ty0 #ty1 : scalar_ty)
(x : scalar ty0) (y : scalar ty1) : result (scalar ty0) =
admit()

let scalar_not #ty (x : scalar ty) : scalar_ty = admit()
let scalar_not #ty (x : scalar ty) : scalar ty = admit()

(** Cast an integer from a [src_ty] to a [tgt_ty] *)
// TODO: check the semantics of casts in Rust
Expand Down
2 changes: 1 addition & 1 deletion tests/fstar/demo/Primitives.fst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ let scalar_shr (#ty0 #ty1 : scalar_ty)
(x : scalar ty0) (y : scalar ty1) : result (scalar ty0) =
admit()

let scalar_not #ty (x : scalar ty) : scalar_ty = admit()
let scalar_not #ty (x : scalar ty) : scalar ty = admit()

(** Cast an integer from a [src_ty] to a [tgt_ty] *)
// TODO: check the semantics of casts in Rust
Expand Down
2 changes: 1 addition & 1 deletion tests/fstar/hashmap/Primitives.fst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ let scalar_shr (#ty0 #ty1 : scalar_ty)
(x : scalar ty0) (y : scalar ty1) : result (scalar ty0) =
admit()

let scalar_not #ty (x : scalar ty) : scalar_ty = admit()
let scalar_not #ty (x : scalar ty) : scalar ty = admit()

(** Cast an integer from a [src_ty] to a [tgt_ty] *)
// TODO: check the semantics of casts in Rust
Expand Down
2 changes: 1 addition & 1 deletion tests/fstar/misc/Primitives.fst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ let scalar_shr (#ty0 #ty1 : scalar_ty)
(x : scalar ty0) (y : scalar ty1) : result (scalar ty0) =
admit()

let scalar_not #ty (x : scalar ty) : scalar_ty = admit()
let scalar_not #ty (x : scalar ty) : scalar ty = admit()

(** Cast an integer from a [src_ty] to a [tgt_ty] *)
// TODO: check the semantics of casts in Rust
Expand Down
2 changes: 1 addition & 1 deletion tests/fstar/rename_attribute/Primitives.fst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ let scalar_shr (#ty0 #ty1 : scalar_ty)
(x : scalar ty0) (y : scalar ty1) : result (scalar ty0) =
admit()

let scalar_not #ty (x : scalar ty) : scalar_ty = admit()
let scalar_not #ty (x : scalar ty) : scalar ty = admit()

(** Cast an integer from a [src_ty] to a [tgt_ty] *)
// TODO: check the semantics of casts in Rust
Expand Down
2 changes: 1 addition & 1 deletion tests/fstar/traits/Primitives.fst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ let scalar_shr (#ty0 #ty1 : scalar_ty)
(x : scalar ty0) (y : scalar ty1) : result (scalar ty0) =
admit()

let scalar_not #ty (x : scalar ty) : scalar_ty = admit()
let scalar_not #ty (x : scalar ty) : scalar ty = admit()

(** Cast an integer from a [src_ty] to a [tgt_ty] *)
// TODO: check the semantics of casts in Rust
Expand Down

0 comments on commit 7316d0b

Please sign in to comment.