From e712169daac6445debe2049fcb771589133b7a9c Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Mon, 19 Aug 2024 18:35:27 -0400 Subject: [PATCH] xo-reader: utest: + test variable lookup [working] --- utest/reader.test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utest/reader.test.cpp b/utest/reader.test.cpp index aa85fcc7..2c9a490d 100644 --- a/utest/reader.test.cpp +++ b/utest/reader.test.cpp @@ -17,7 +17,8 @@ namespace xo { {"def foo : f64 = (3.14159265);"}, //{"def foo : f64 = 2.0 * 3.14159265;"}, {"def foo = lambda (x : f64) 3.1415965;"}, - {"def foo = lambda (x : f64, y : f64) 3.1415965;"} + {"def foo = lambda (x : f64, y : f64) 3.1415965;"}, + {"def foo = lambda (x : f64) x;"} }; }