Closed EduardoRFS closed 4 years ago
Since 4.06 OCaml supports inherit in objects, but there is no way to do that in Reason. This is really important as it makes functions + objects a full replacement of classes.
module type X = sig type x = < x > end
supported since #2487
see https://github.com/facebook/reason/blob/master/formatTest/unit_tests/input/object.re#L47-L72
Since 4.06 OCaml supports inherit in objects, but there is no way to do that in Reason. This is really important as it makes functions + objects a full replacement of classes.