Skip to content

Decide on the RFC for more general structural typing. #5412

Closed
@cristianoc

Description

@cristianoc

This is currently in master:
https://forum.rescript-lang.org/t/rfc-more-general-type-checking-for-structural-typings/1485/73

Ok to experiment with, but in need of more thorough testing/polishing.
E.g. the two types below printed in the error message are identical.
PNG image

Other questions include how to write type annotations. And figure out whether or not this is a new type.

For v10.0 it might be best to mark it as experimental, or turn it off, or develop it further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions