From cf0e7fa6e20b49b7a2ccd755aead11f2e78d18a9 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 8 Oct 2023 11:17:20 +0100 Subject: Clarify that results aren't returned from the function --- src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioIf.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioIf.java b/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioIf.java index f9dc32a4..7e8cc59f 100644 --- a/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioIf.java +++ b/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioIf.java @@ -10,7 +10,7 @@ import java.util.List; * If the condition is true, execute the instructions in the "true" body, * otherwise execute the instructions in the "false" body. *

- * Each block must return the same number of results as targets. Each result + * Each block must have the same number of results as targets. Each result * is assigned to the target with the same index. */ public record PatioIf( -- cgit v1.2.3