Sfoglia il codice sorgente

Add TODO breadcrumb from `for` design to semantics proposal (#4271)

David Blaikie 1 anno fa
parent
commit
2971e129ad
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      docs/design/control_flow/loops.md

+ 3 - 0
docs/design/control_flow/loops.md

@@ -63,6 +63,9 @@ for (var name: String in names) {
 
 `PrintNames()` prints each `String` in the `names` `List` in iteration order.
 
+TODO: Add semantics discussion from
+[#1885: ranged-based `for` for user-defined types](https://github.com/carbon-language/carbon-lang/pull/1885).
+
 ### `break`
 
 The `break` statement immediately ends a `while` or `for` loop. Execution will