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

Unnecessary error during build: "invalid callee" #579

Closed
TehShrike opened this issue May 9, 2017 · 0 comments
Closed

Unnecessary error during build: "invalid callee" #579

TehShrike opened this issue May 9, 2017 · 0 comments

Comments

@TehShrike
Copy link
Member

I'm adding some methods at instantiation-time, ala #284.

This now causes an error at build-time: Error: '[method name]' is an invalid callee (should be one of this.*, event.*, set, fire, destroy, complete or restore) while parsing file: [filename]

This should probably just be a warning.

TehShrike added a commit to TehShrike/state-router-example that referenced this issue May 9, 2017
Rich-Harris added a commit that referenced this issue May 21, 2017
downgrade invalid callee error for event handlers to a warning
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