Skip to content

Added a test for Common JS Closure usage #3

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 1 commit into from
Jun 19, 2020

Conversation

torch2424
Copy link
Collaborator

relates to AssemblyScript#1308
relates to AssemblyScript#1240 (comment)

Adding my test I wrote a while back where I research common use cases we should probably try to support for it to feel natural for JS devs coming to AS.

Tests fail on the current master, but it also fails for the normal closure test, but it used to pass on the old closures so I don't think it should be a blocker 😄 👍

Screenshot

Screenshot from 2020-06-19 12-13-39

@torch2424 torch2424 requested a review from DuncanUszkay1 June 19, 2020 19:16
@torch2424 torch2424 self-assigned this Jun 19, 2020
@DuncanUszkay1
Copy link
Owner

More tests sounds good

@DuncanUszkay1 DuncanUszkay1 merged commit f50bb84 into master Jun 19, 2020
@DuncanUszkay1 DuncanUszkay1 deleted the closure-js-patterns-test branch June 19, 2020 20:05
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.

2 participants