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

Add tests covering static private methods used from instance methods #2310

Merged
merged 2 commits into from
Aug 28, 2019

Conversation

mkubilayk
Copy link
Contributor

Following the test plan posted in #1343.

Semantics > Usage

  • It's OK at parse-time to reference a static private method from an instance method, or vice versa

@leobalter @rwaldron for review.
cc: @caiolima @jbhoosreddy

@leobalter leobalter merged commit 8d41122 into tc39:master Aug 28, 2019
1. If O.[[PrivateBrands]] does not contain an entry e such that SameValue(e, P.[[Brand]]) is true,
a. Throw a TypeError exception.
template: default
features: [class-static-methods-private]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be class-methods-private

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #2621.

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

Successfully merging this pull request may close these issues.

4 participants