| 462 |
raise_loc_generic p.loc "Capture variables are not allowed in types"; |
raise_loc_generic p.loc "Capture variables are not allowed in types"; |
| 463 |
let t = typ s in |
let t = typ s in |
| 464 |
if (p.loc <> noloc) && (Types.is_empty t) then |
if (p.loc <> noloc) && (Types.is_empty t) then |
| 465 |
warning p.loc ("This definition yield an empty type for " ^ v); |
warning p.loc ("This definition yields an empty type for " ^ v); |
| 466 |
Types.Print.register_global v t) b |
Types.Print.register_global v t) b |
| 467 |
|
|
| 468 |
let dump_global_types ppf = |
let dump_global_types ppf = |