-
Notifications
You must be signed in to change notification settings - Fork 17
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
Crashes horribly when function names are invalid identifiers #20
Comments
Also reported here mciparelli/co-redis#16 and here redis/node-redis#1075 |
it's like they are intentionally trying to break it... :P what's your solution here? |
Hehe, it seems that way 😆 I would actually prefer this being fixed on both ends, we could probably implement a quick check for valid names here, and if the name is invalid we could drop the name... Another solution would be to utilize the same check that they are using, and in newer engines (e.g. Node.js >4) set the name by using |
a function's |
I'm using |
See mciparelli/co-redis#16
Small test case to reproduce:
The text was updated successfully, but these errors were encountered: