Skip to content

Conversation

@dsyme
Copy link
Contributor

@dsyme dsyme commented Apr 24, 2019

Add some comments to sequence state machine compilation

// Note, however, this leads to a loss of tailcalls: the case not
// handled correctly yet is sequence expressions that use yield! in the last position
// This can give rise to infinite iterator chains when implemented by the naive expansion to
// for x in e yield e. For example consider this:
Copy link
Contributor

Choose a reason for hiding this comment

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

Were those smart quotes? 🙂

@KevinRansom KevinRansom merged commit 70e1130 into dotnet:master Apr 26, 2019
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.

3 participants