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

Error when semi-colon after class function #12

Closed
isaacplmann opened this issue Nov 11, 2016 · 2 comments
Closed

Error when semi-colon after class function #12

isaacplmann opened this issue Nov 11, 2016 · 2 comments

Comments

@isaacplmann
Copy link

I get an error RangeError: Invalid array length when there is a semi-colon after a class function.

e.g.

@Component({...})
export class SomeComponent {
  testFunction(): void {
  };
}

It's not really a problem to delete the extraneous semi-colons, but the error message could be a little more helpful. It took me a while to find the problem.

@vogloblinsky
Copy link
Contributor

Fixed in next release.

@lock
Copy link

lock bot commented Oct 1, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants