Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
W95Psp committed Apr 18, 2024
1 parent 65e108e commit a5fbfe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/backends/fstar/fstar_backend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ module DepGraph = Dependencies.Make (InputLanguage)
module DepGraphR = Dependencies.Make (Features.Rust)

module Visitors = Ast_visitors.Make (InputLanguage)
let refinements_as_casts = object
let newtype_as_refinement = object
inherit [_] Visitors.map as super

method! visit_expr () e =
Expand Down Expand Up @@ -1473,7 +1473,7 @@ let apply_phases (bo : BackendOptions.t) (items : Ast.Rust.item list) :
let items =
TransformToInputLanguage.ditems items
|> List.map ~f:U.Mappers.add_typ_ascription
|> List.map ~f:(fun item -> refinements_as_casts#visit_item () item)
|> List.map ~f:(fun item -> newtype_as_refinement#visit_item () item)
(* |> DepGraph.name_me *)
in
items

0 comments on commit a5fbfe3

Please sign in to comment.