diff --git a/crates/simplexpr/src/eval.rs b/crates/simplexpr/src/eval.rs index df510af5..923a675b 100644 --- a/crates/simplexpr/src/eval.rs +++ b/crates/simplexpr/src/eval.rs @@ -438,5 +438,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!"))), } }