Skip to content

Add broken test for record destructuring #705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 21, 2023

Conversation

cknitt
Copy link
Member

@cknitt cknitt commented Jan 20, 2023

Tests for #704.

The first two are working fine, the second two not.

@cknitt cknitt requested a review from zth January 20, 2023 10:59
@cknitt cknitt force-pushed the record-destructuring branch from 14d3278 to a1f4b1b Compare January 20, 2023 11:46
@cknitt cknitt force-pushed the record-destructuring branch from a1f4b1b to df8e293 Compare January 20, 2023 11:55
@zth zth requested a review from cristianoc January 21, 2023 09:52
@zth
Copy link
Collaborator

zth commented Jan 21, 2023

Fixed. My mistake was I only targeted structure items, whereas we now target all let bindings. Should make destructuring work in more cases. @cristianoc care to have a quick look?

Copy link
Collaborator

@cristianoc cristianoc left a comment

Choose a reason for hiding this comment

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

Looking great, from what I can see.

@zth zth merged commit 9fc87db into rescript-lang:master Jan 21, 2023
@cknitt cknitt deleted the record-destructuring branch January 21, 2023 17:20
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.

3 participants