Skip to content

Commit

Permalink
Clarify comments on omitted fields
Browse files Browse the repository at this point in the history
Signed-off-by: Shon Feder <[email protected]>
  • Loading branch information
shonfeder committed Sep 6, 2021
1 parent d916720 commit b1354d7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/dune_engine/dune_project.ml
Original file line number Diff line number Diff line change
Expand Up @@ -599,13 +599,16 @@ let encode : t -> Dune_lang.t list =
; strict_package_deps
; cram
; subst_config
(* TODO: These three fields all get parsed out from the `using` stanza,
bu twe don't need them for project initialization. They should be
reconstructed if you ever want full encoding tho. *)
(* The next three fields all get parsed out from the `using` stanza, but
we don't need them for project initialization. They should be
reconstructed if you ever want a full encoding of the project record
tho. *)
; extension_args = _
; parsing_context = _
; stanza_parser =
_ (* Metadata about the dune-project file, but not in it *)
_
(* The next three fields hold metadata that is about the dune-project
file, but not represented in its content *)
; file_key = _
; project_file = _
; root = _
Expand Down

0 comments on commit b1354d7

Please sign in to comment.