Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Private methods (parser plugin 'classPrivateMethods') #166

Closed
andrewmiller1 opened this issue Oct 2, 2018 · 3 comments
Closed

Private methods (parser plugin 'classPrivateMethods') #166

andrewmiller1 opened this issue Oct 2, 2018 · 3 comments

Comments

@andrewmiller1
Copy link

Private variables work but not private methods. Works with babel. In my babel config I have the plugin mentioned.

Parsing error: This experimental syntax requires enabling the parser plugin: 'classPrivateMethods'
class myClass {
  #myMethod() {
  }
}

Let me know if you need any logs

@1nfility
Copy link

Same error

@Scrum
Copy link

Scrum commented Feb 19, 2020

@hzoo Is there any movement to solve this problem?

@kaicataldo
Copy link
Member

Thank you for the issue. Now that @babel/eslint-plugin has been released, we are making this repository read-only. If this is a change you would still like to advocate for, please reopen this in the babel/babel monorepo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants