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

typescript-beginning-of-defun misses ES2015 forms #135

Open
leungbk opened this issue Jun 14, 2020 · 2 comments
Open

typescript-beginning-of-defun misses ES2015 forms #135

leungbk opened this issue Jun 14, 2020 · 2 comments
Labels

Comments

@leungbk
Copy link

leungbk commented Jun 14, 2020

ES2015 classes and class methods, along with stuff like

const foo = (args) => {
  const a = 42;
  return false;
}

are not treated as defuns.

@thiagotps
Copy link

Same problem here. Class methods are not treated as defuns.

@josteink josteink added the bug label Dec 7, 2020
@josteink
Copy link
Member

josteink commented Dec 7, 2020

Can reproduce this. Clearly a bug.

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

No branches or pull requests

3 participants