Skip to content

Make the example project compilable with compiler version 10.0. #465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 114 additions & 0 deletions analysis/examples/larger-project/src/P.js

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

14 changes: 14 additions & 0 deletions analysis/examples/larger-project/src/P.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
exception Sys_error(string)
let input = _ => assert false
let output = _ => assert false
let open_temp_file = _ => assert false
let close_out = _ => assert false
let output_char = _ => assert false
let really_input = _ => assert false
let pp_get_formatter_tag_functions = _ => assert false
type ttt = Open_text
type out_channel
let stderr = assert false
let print_char = _ => assert false

type nativeint
19 changes: 2 additions & 17 deletions analysis/examples/larger-project/src/arg_helper.js

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

2 changes: 2 additions & 0 deletions analysis/examples/larger-project/src/asttypes.res
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
open P

@@ocaml.text(
/* ************************************************************************ */
/* */
Expand Down
71 changes: 6 additions & 65 deletions analysis/examples/larger-project/src/clflags.js

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

2 changes: 1 addition & 1 deletion analysis/examples/larger-project/src/clflags.res
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ let color: ref<option<string>> = ref(None) /* -color */
let unboxed_types = ref(false)

let arg_spec = ref(list{})
let arg_names = ref(Misc.StringMap.empty)
let arg_names : ref<Misc.StringMap.t<int>> = ref(Misc.StringMap.empty)

let reset_arguments = () => {
arg_spec := list{}
Expand Down
71 changes: 5 additions & 66 deletions analysis/examples/larger-project/src/config.js

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

1 change: 0 additions & 1 deletion analysis/examples/larger-project/src/config.res
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,4 @@ let print_config = oc => {
p("cmxs_magic_number", cmxs_magic_number)
p("cmt_magic_number", cmt_magic_number)

flush(oc)
}
Loading