Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Just pushed to the server some code I had lying around when I started playing with adding
for-in
. So far it has just the parser update and beginnings of type checking.Evidently this needs to wait until we have other features in place for the complete functionality of
for-in
to work (first class functions being the most obvious one) unless we want to support a hacky version first with hardcoded support for the standard library iterators only (which I see as being special-cased in the code-generator anyway, so it's not like that would be throwaway code).