Skip to content

Conversation

@aspeddro
Copy link
Collaborator

Close #163

),

type_parameter: $ => seq(
abstract_type: $ => seq(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renaming because there is a rule with similar name type_parameters.

In OCaml it is astract_type

@nkrkv
Copy link
Collaborator

nkrkv commented Dec 4, 2022

My brain was bent a little with all these “special” type constructs, and I doubted what should be a child/parent of what. Now, looking again, it seems clear and valid. Thanks!

@nkrkv nkrkv merged commit 428198f into rescript-lang:main Dec 4, 2022
@aspeddro aspeddro deleted the polymorpic-syntax branch December 6, 2022 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support polymorphic type constraints and locally abstract type

2 participants