summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile3
-rw-r--r--src/CfimOfJson.ml2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 71488f23..efbef884 100644
--- a/Makefile
+++ b/Makefile
@@ -47,10 +47,11 @@ translate-nll-betree_nll: SUBDIR:=misc
# directories in Charon
.PHONY: gen-cfim-%
+# TODO: remove those "gen-..." rules, and just do `make` in the charon repo
gen-cfim-%: CHARON_OPTIONS = --dest ../tests/cfim --no-code-duplication
gen-cfim-%: CHARON_TESTS_SRC = ../tests/src
-gen-cfim-nll-%: CHARON_OPTIONS = --dest ../tests/cfim --no-code-duplication --nll
+gen-cfim-nll-%: CHARON_OPTIONS = --dest ../tests-nll/cfim --no-code-duplication --nll
gen-cfim-nll-%: CHARON_TESTS_SRC = ../tests-nll/src
gen-cfim-%: build
diff --git a/src/CfimOfJson.ml b/src/CfimOfJson.ml
index 8278668a..4c7fc58b 100644
--- a/src/CfimOfJson.ml
+++ b/src/CfimOfJson.ml
@@ -203,8 +203,8 @@ let type_def_of_json (js : json) : (T.type_def, string) result =
("name", name);
("region_params", region_params);
("type_params", type_params);
- ("kind", kind);
("regions_hierarchy", regions_hierarchy);
+ ("kind", kind);
] ->
let* def_id = T.TypeDefId.id_of_json def_id in
let* name = name_of_json name in