From 21dddf2fc6c09495de56250961ab69b2b6506112 Mon Sep 17 00:00:00 2001 From: Son Ho Date: Fri, 28 Jan 2022 21:12:13 +0100 Subject: Make the scrutinee in Pure.Switch an expression rather than a value --- src/Pure.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Pure.ml') diff --git a/src/Pure.ml b/src/Pure.ml index f20cdf50..dc35a181 100644 --- a/src/Pure.ml +++ b/src/Pure.ml @@ -479,7 +479,7 @@ type expression = ... ``` *) - | Switch of typed_rvalue * mplace option * switch_body + | Switch of expression * switch_body | Meta of meta * expression (** Meta-information *) and call = { -- cgit v1.2.3