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
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.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@
68
68
- Refactor analysis CLI helpers to use source input. https://github.com/rescript-lang/rescript/pull/8466
69
69
- Include syntax, gentype, analysis, tools, and reanalyze tests in coverage reports. https://github.com/rescript-lang/rescript/pull/8467
70
70
- Remove the unreachable `Longident.Lapply` constructor (OCaml's applicative-functor path syntax `F(X).t`, which ReScript's grammar cannot produce). https://github.com/rescript-lang/rescript/pull/8469
71
+
- 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