Browse Source

display type name on die

Nicolas Cannasse 3 years ago
parent
commit
e097a2a9ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/generators/genhl.ml

+ 1 - 1
src/generators/genhl.ml

@@ -3683,7 +3683,7 @@ let write_code ch code debug =
 	let write_index = write_index_gen byte in
 	let write_index = write_index_gen byte in
 
 
 	let rec write_type t =
 	let rec write_type t =
-		write_index (try PMap.find t htypes with Not_found -> die "" __LOC__)
+		write_index (try PMap.find t htypes with Not_found -> die (tstr t) __LOC__)
 	in
 	in
 
 
 	let write_op op =
 	let write_op op =