Skip to content

Commit

Permalink
Remove Ast.Reference.is_parameter
Browse files Browse the repository at this point in the history
Reviewed By: stroxler, yangdanny97

Differential Revision: D59833798

fbshipit-source-id: 2c2944cd1c7c65bdee4ee9ea3b9616bab2ddf3fb
  • Loading branch information
grievejia authored and facebook-github-bot committed Jul 17, 2024
1 parent d9e239a commit f99385b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions source/ast/reference.ml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ let is_local reference =
| _ -> false


let is_parameter reference =
match reference with
| head :: _ when String.is_prefix ~prefix:"$parameter$" head -> true
| _ -> false


let sanitized reference = List.map ~f:Identifier.sanitized reference

let sanitize_qualified reference =
Expand Down
2 changes: 0 additions & 2 deletions source/ast/reference.mli
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ val delocalize : t -> t

val is_local : t -> bool

val is_parameter : t -> bool

val sanitized : t -> t

val sanitize_qualified : t -> t
Expand Down

0 comments on commit f99385b

Please sign in to comment.