Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

creech46
Copy link

@creech46 creech46 commented May 31, 2018

Description of the Change

Currently when you type in lcie to autocomplete a list comprehension if else it autocompletes it to '[value if condition else condition for value in variable]'. But it should actually be '[value if condition else value for value in variable]' since you are specifying an alternative value after the 'else' and not specifying another condition.

Alternate Designs

There are not any other reasonable ways to make this change.

Benefits

The list comprehension if else auto-completion will be clearer.

Possible Drawbacks

None

Applicable Issues

None

@winstliu
Copy link
Contributor

CI failure is unrelated. Thanks for the PR!

@winstliu winstliu merged commit fc9dd3b into atom:master May 31, 2018
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.

2 participants