From 5d6ba5e8e82edb3d8a9bad9d0d9a044c760f6d7b Mon Sep 17 00:00:00 2001 From: Razvan Nitu Date: Fri, 19 May 2023 13:44:51 +0300 Subject: [PATCH] Update spec/function.dd Co-authored-by: Petar Kirov --- spec/function.dd | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/spec/function.dd b/spec/function.dd index 7a8f8028b7..dabd49e637 100644 --- a/spec/function.dd +++ b/spec/function.dd @@ -1909,21 +1909,16 @@ $(H3 $(LNAME2 ref-return-scope-parameters, Ref Return Scope Parameters)) $(TABLE2 Combinations of `ref` $(COMMA) `return` and `scope`, $(THEAD Order, Interpretation) - $(TROW `ref`, $(REFP)) - $(TROW `return`, `return`) - $(TROW `scope`, $(SCOPE)) - $(TROW `return ref`, $(RETURN_REF)) - $(TROW `ref return`, $(RETURN_REF)) - $(TROW `return scope`, $(RETURN_SCOPE)) - $(TROW `scope return`, $(RETURN_SCOPE)) - $(TROW `ref scope`, $(REFP) and $(SCOPE)) - $(TROW `scope ref`, $(REFP) and $(SCOPE)) - $(TROW `ref return scope`, $(REFP) and $(RETURN_SCOPE)) - $(TROW `return scope ref`, $(REFP) and $(RETURN_SCOPE)) - $(TROW `ref scope return`, $(RETURN_REF) and $(SCOPE)) - $(TROW `return ref scope`, $(RETURN_REF) and $(SCOPE)) - $(TROW `scope return ref`, $(RETURN_REF) and $(SCOPE)) - $(TROW `scope ref return`, $(RETURN_REF) and $(SCOPE)) + $(TROW `ref`, $(REFP)) + $(TROW `return`, $(RETURN_SCOPE)) + $(TROW `scope`, $(SCOPE)) + $(TROW `return ref` and `ref return`, $(RETURN_REF)) + $(TROW `return scope` and `scope return`, $(RETURN_SCOPE)) + $(TROW `ref scope` and `scope ref`, $(REFP) and $(SCOPE)) + $(TROW `ref return scope` and `return scope ref`, $(REFP) and $(RETURN_SCOPE)) + $(TROW `ref scope return`$(COMMA) `return ref scope`$(COMMA) + `scope return ref`$(COMMA) and `scope ref return`, $(RETURN_REF) and $(SCOPE)) + ) $(BEST_PRACTICE do not use `ref return` and `scope return`.)