Skip to content

Commit

Permalink
Update spec/function.dd
Browse files Browse the repository at this point in the history
Co-authored-by: Petar Kirov <[email protected]>
  • Loading branch information
RazvanN7 and PetarKirov committed May 19, 2023
1 parent d405df2 commit 46753fc
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions spec/function.dd
Original file line number Diff line number Diff line change
Expand Up @@ -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`.)
Expand Down

0 comments on commit 46753fc

Please sign in to comment.