Duplicate key error on computed property from RegExp literals #8655
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
works as intended
The behavior described in this issue is working correctly
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
babel-eslint
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
No error as default
toString
implementation ofRegExp
produces different results from different RegExp literals.What actually happened? Please include the actual, raw output from ESLint.
I don't know how practical this would be to implement, but since keys from array literals are correctly differentiated, I'm assuming this shouldn't be hard.
The text was updated successfully, but these errors were encountered: