syntactic_ast: modify the phantom types to have concrete constructors, as the ocaml compiler cannot prove them distinct otherwise
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2026-01-07 20:00:11 +03:00
parent be81061895
commit ec56d76fb3
2 changed files with 12 additions and 12 deletions

View File

@@ -7,12 +7,12 @@ open Containers
type symbol = string
(* These are just used for the GADT *)
type expression
type definition
type clause (* for cond *)
type binding (* for let *)
type lambda_list
type body
type expression = Phantom_expr
type definition = Phantom_def
type clause = Phantom_clause (* for cond *)
type binding = Phantom_binding(* for let *)
type lambda_list = Phantom_lambda_list
type body = Phantom_body
type _ t =
(* Literals *)