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

Support for nested properties breaks the rest argument [...] #30

Open
bclinkinbeard opened this issue Dec 19, 2011 · 0 comments
Open

Support for nested properties breaks the rest argument [...] #30

bclinkinbeard opened this issue Dec 19, 2011 · 0 comments

Comments

@bclinkinbeard
Copy link
Contributor

Migrated from SWIZ-65

When Swiz added support for nested properties on EventHandler tags (I think in 1.3?), it broke the ability to use the rest parameter.

E.g. this worked previously:
[EventHandler(event="MyEvent.MY_CONSTANT",properties="...rest")]
public function onMyEvent( ... rest ) : void { // do something with rest }

It seems like an acceptable tradeoff, but it should be documented that this is no longer possible.

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

No branches or pull requests

1 participant