You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove dead Sig_class and Sig_class_type signature variants (#8470)
Types.signature_item carried Sig_class and Sig_class_type (OCaml class /
class-type items, each `of unit` dummy AST nodes). ReScript has no
classes, so the parser and type checker never construct them; every
match arm was assert false / identity / skip.
Remove both variants and all their handling across the type system
(btype, subst, env, mtype, includemod, printtyp, translmod,
transl_recmodule), gentype, and analysis. Also drop the stale
commented-out get_string block in lam_print.ml referencing the old
3-arg Sig_class form, and simplify the now-trivial filter_rem_sig.
The frozen parsetree0 Pstr_class/Psig_class dummies are independent and
left untouched.
- Remove the dead `Sig_class`/`Sig_class_type` signature variants (OCaml class items, which ReScript cannot produce). https://github.com/rescript-lang/rescript/pull/8470
0 commit comments