diff --git a/crates/simplexpr/src/eval.rs b/crates/simplexpr/src/eval.rs index 92ed6c65..c1da26fe 100644 --- a/crates/simplexpr/src/eval.rs +++ b/crates/simplexpr/src/eval.rs @@ -457,5 +457,17 @@ mod tests { end end "#) => Ok(DynVal::from(String::from("Hello, World!"))), + pathological_let_in_2( + r#" + let + value = "Hello", + value = value + ", ", + value = value + "Wor", + value = value + "ld!" + in + value + end + "# + ) => Ok(DynVal::from(String::from("Hello, World!"))), } }