From ed18b966b671fdd1da60b6582a4bdd92813d5e5a Mon Sep 17 00:00:00 2001 From: Son Ho Date: Wed, 24 Nov 2021 14:20:26 +0100 Subject: Implement eval_unary_op --- rust-tests/src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rust-tests/src') diff --git a/rust-tests/src/main.rs b/rust-tests/src/main.rs index e85acf8c..b7478c0e 100644 --- a/rust-tests/src/main.rs +++ b/rust-tests/src/main.rs @@ -66,4 +66,10 @@ fn main() { println!("| {} i -> i", s); } println!("\n"); + + // Generate the mk_scalar body + for s in &ints_upper { + println!("| Types.{} -> Ok ({} i)", s, s); + } + println!("\n"); } -- cgit v1.2.3