summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-08-07 15:45:26 +0100
committerAlasdair Armstrong2018-08-07 15:45:26 +0100
commitc3ebfec63da05a6d0ef3867285d8b8dc1e0af71e (patch)
tree77d0b68ff377ba03c603955e80234c8150ac7689 /src
parent0cb1e506866873f8886baf7631878ed956f1e8f5 (diff)
More updates for fixing variant types
Diffstat (limited to 'src')
-rw-r--r--src/c_backend.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_backend.ml b/src/c_backend.ml
index adbc7cf6..70c50060 100644
--- a/src/c_backend.ml
+++ b/src/c_backend.ml
@@ -1812,7 +1812,7 @@ let rec specialize_variants ctx =
List.iter (fun ctyp -> prerr_endline (string_of_ctyp ctyp)) unification;
prerr_endline (string_of_id mono_id);
- (* We need to case each cval to it's ctyp_suprema in order to put it in the most general constructor *)
+ (* We need to cast each cval to it's ctyp_suprema in order to put it in the most general constructor *)
let casts =
let cast_to_suprema (frag, ctyp) =
let suprema = ctyp_suprema ctyp in