You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support expression in foreach stmt where the expression type structurally implements Iterator and a class extension exists that makes Iterable structural
#396
Closed
rsmckinney opened this issue
Nov 17, 2022
· 1 comment
Support expression in foreach stmt where the expression type structurally implements Iterator and a class extension exists that makes Iterable structrual.
- Support case where Iterable is made structural via extension. As such, foreach stmt should work with types that implement Iterable structurally. Note, this did not work initially because javac foreach desugar happens during Gen (in Lower).
rsmckinney
changed the title
Support expression in foreach stmt where the expression type structurally implements Iterator and a class extension exists that makes Iterable structrual
Support expression in foreach stmt where the expression type structurally implements Iterator and a class extension exists that makes Iterable structural
Nov 18, 2022
rsmckinney
added a commit
to manifold-systems/manifold-ij
that referenced
this issue
Nov 18, 2022
- Handle expression in foreach stmt where the expression type structurally implements Iterator and a class extension exists that makes Iterable structural
manifold-systems/manifold#395
- Support property inference on record types
Bump version
Support expression in foreach stmt where the expression type structurally implements Iterator and a class extension exists that makes Iterable structrual.
Enable Iterable as a structural interface .
Make NodeList implement Iterable.
Use foreach statement with NodeList.
See slack discussion.
The text was updated successfully, but these errors were encountered: