Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

no-unbound-method: add another exception #3610

Merged
merged 1 commit into from
May 1, 2018

Conversation

ethanresnick
Copy link
Contributor

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

Reading a property of the unbound method with square brackets, though rare, should be allowed because it's not related to whether this is bound.

Is there anything you'd like reviewers to focus on?

No, but I'm happy to provide more details about where I needed this irl if necessary.

CHANGELOG.md entry:

[bugfix] no-unbound-method: allow square bracket property access

@palantirtech
Copy link
Member

Thanks for your interest in palantir/tslint, @ethanresnick! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Reading a property with square brackets, though rare, should be allowed because it won't be effected by an unbound this.
@ethanresnick
Copy link
Contributor Author

cc @andy-hanson

@ethanresnick
Copy link
Contributor Author

What's the next step to getting this merged?

@ethanresnick
Copy link
Contributor Author

Ping @ajafff

@giladgray giladgray merged commit f47aeb3 into palantir:master May 1, 2018
@giladgray
Copy link

@ethanresnick merged! will ship in next release (soon)

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

Successfully merging this pull request may close these issues.

4 participants