Skip to content

Commit

Permalink
Merge pull request #3428 from mtzguido/range
Browse files Browse the repository at this point in the history
ulib: FStar.Range: allow inspecting the unsealed __range
  • Loading branch information
mtzguido authored Sep 1, 2024
2 parents a920424 + 6f4160a commit 5db2e80
Show file tree
Hide file tree
Showing 17 changed files with 1,750 additions and 250 deletions.
7 changes: 7 additions & 0 deletions ocaml/fstar-lib/FStar_Range.ml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ let mk_range f a b c d = FStar_Compiler_Range_Type.mk_range f {line=a;col=b} {li
let range_0 : range = let z = Prims.parse_int "0" in mk_range "dummy" z z z z
let join_range r1 r2 = FStar_Compiler_Range_Ops.union_ranges r1 r2

let explode (r:__range) =
(r.use_range.file_name,
r.use_range.start_pos.line,
r.use_range.start_pos.col,
r.use_range.end_pos.line,
r.use_range.end_pos.col)

type ('Ar,'Amsg,'Ab) labeled = 'Ab
12 changes: 12 additions & 0 deletions ocaml/fstar-lib/generated/FStar_Parser_Const.ml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

774 changes: 708 additions & 66 deletions ocaml/fstar-lib/generated/FStar_Syntax_Embeddings.ml

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions ocaml/fstar-lib/generated/FStar_Syntax_Syntax.ml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 26 additions & 17 deletions ocaml/fstar-lib/generated/FStar_TypeChecker_NBE.ml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5db2e80

Please sign in to comment.