Skip to content
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

[BUG] - Arrow functions don't work in DRP #496

Open
hoangquocvietuet opened this issue Feb 20, 2025 · 0 comments
Open

[BUG] - Arrow functions don't work in DRP #496

hoangquocvietuet opened this issue Feb 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@hoangquocvietuet
Copy link
Contributor

hoangquocvietuet commented Feb 20, 2025

Description

I don't know if it's intended or it's a bug !?

We can't apply operations with arrow functions so stateChanged always equal false -> stuck at callFn function

Version

0.7.0

Reproduction URL

No response

Reproduction steps

1. Modify add function in SetDRP of Blueprint to:

add = (value: T) => {
   this._set.add(value);
}

2. `pnpm test`

Screenshots

DESCRIPTION

Logs

Browsers

No response

OS

No response

@hoangquocvietuet hoangquocvietuet added the bug Something isn't working label Feb 20, 2025
@d-roak d-roak added this to DRP Feb 20, 2025
@github-project-automation github-project-automation bot moved this to 🔮 Backlog in DRP Feb 20, 2025
@hoangquocvietuet hoangquocvietuet changed the title [BUG] - Array functions don't work in DRP [BUG] - Arrow functions don't work in DRP Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant