diff --git a/spec/statement.dd b/spec/statement.dd index 5f88123d8b..db2a1bf1c4 100644 --- a/spec/statement.dd +++ b/spec/statement.dd @@ -833,7 +833,7 @@ $(CONSOLE be allocated for it on the heap instead of the stack. ) - $(P $(B Important:) If apply functions catch any exceptions, ensure that those + $(P $(B Important:) If an apply function catches any exceptions, ensure that those exceptions did not originate from the delegate. The user would expect exceptions thrown from a `foreach` body to both terminate the loop, and propagate outside the `foreach` body. @@ -841,7 +841,7 @@ $(CONSOLE $(H4 $(LNAME2 template-op-apply, Template `opApply`)) - $(P `opApply` and `opApplyReverse` can also be a function templates, + $(P `opApply` and `opApplyReverse` can also be function templates, which can optionally infer the types of parameters based on the $(I ForeachStatement). )