Skip to content

Formatting support for spread and if control flow elements. #783

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

Merged
merged 2 commits into from
Mar 25, 2019

Conversation

munificent
Copy link
Member

(I'll do "for" in a separate commit.)

Copy link
Member

@natebosch natebosch left a comment

Choose a reason for hiding this comment

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

Consider adding a test for spreading an immediately invoked sync*

var list = [1, ...() sync* {yield 2; yield3;}(), 4];

@munificent
Copy link
Member Author

Good idea. Added a few more tests around different expressions inside a spread.

@munificent munificent merged commit 4d94831 into master Mar 25, 2019
@munificent munificent deleted the spread-and-if branch March 25, 2019 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants