Skip to content

Commit

Permalink
Parser.Dep: nits
Browse files Browse the repository at this point in the history
  • Loading branch information
mtzguido committed Feb 12, 2025
1 parent c9388fe commit 83a859d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/parser/FStarC.Parser.Dep.fst
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,8 @@ module FStarC.Parser.Dep
open FStarC
open FStarC.Effect //for ref, failwith etc
open FStarC.List
open FStarC.Parser
open FStarC.Parser.AST
open FStarC.Util
open FStarC.Const
open FStar.String
open FStarC.Ident
open FStarC.Errors
open FStarC.Class.Show

Expand Down Expand Up @@ -142,10 +138,10 @@ let module_name_of_file f =
let lowercase_module_name f = String.lowercase (module_name_of_file f)
let namespace_of_module f =
let lid = FStarC.Ident.lid_of_path (FStarC.Ident.path_of_text f) Range.dummyRange in
let lid = Ident.lid_of_path (Ident.path_of_text f) Range.dummyRange in
match ns_of_lid lid with
| [] -> None
| ns -> Some (FStarC.Ident.lid_of_ids ns)
| ns -> Some (Ident.lid_of_ids ns)
type file_name = string
type dependence =
Expand Down
1 change: 0 additions & 1 deletion src/parser/FStarC.Parser.Dep.fsti
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ module FStarC.Parser.Dep

open FStarC
open FStarC.Effect
open FStarC.Parser.AST
open FStarC.Util
open FStarC.Ident

Expand Down

0 comments on commit 83a859d

Please sign in to comment.