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

Fix bug where await expressions were marked as unused #905

Merged
merged 1 commit into from
Jan 9, 2016

Conversation

jkillian
Copy link
Contributor

@jkillian jkillian commented Jan 8, 2016

Fixes #887

}
const { expression } = node;
const { kind } = expression;
const isValidStandAloneExpressionKind = kind === ts.SyntaxKind.DeleteExpression
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: "standalone" is one word, not 2, and I think Kind is useless in this identifier

i.e. isValidStandaloneExpression

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haha good call, meant to look that one up actually

@adidahiya adidahiya added this to the TSLint 3.3 milestone Jan 9, 2016
@adidahiya
Copy link
Contributor

feel free to merge after small rename 👍

@adidahiya adidahiya removed this from the TSLint 3.3 milestone Jan 9, 2016
jkillian added a commit that referenced this pull request Jan 9, 2016
Fix bug where await expressions were marked as unused
@jkillian jkillian merged commit fac7c9a into master Jan 9, 2016
@jkillian jkillian deleted the unused-await-fix branch January 9, 2016 20:29
@jkillian jkillian restored the unused-await-fix branch January 9, 2016 20:29
@jkillian jkillian deleted the unused-await-fix branch January 9, 2016 20:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants