From d3fe0f7aef75a45b7ad63c58019468013f06c79c Mon Sep 17 00:00:00 2001 From: Brandon Neth Date: Mon, 29 Jan 2024 10:34:32 -0700 Subject: [PATCH] fix to split init to reflect changes from dce work. --- Signed-off-by: Brandon Neth --- doc/rst/language/spec/variables.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/rst/language/spec/variables.rst b/doc/rst/language/spec/variables.rst index abd000989df6..259f7cf26853 100644 --- a/doc/rst/language/spec/variables.rst +++ b/doc/rst/language/spec/variables.rst @@ -176,7 +176,8 @@ contain an initialization expression of the same type. Any variables declared in a particular scope that are initialized with split init in multiple branches of a conditional or ``select`` -must be initialized in the same order in all branches. +must be initialized in the same order in all branches that do not +unconditionally return. *Example (simple-split-init.chpl)*