add Expr2::Str case to render

This commit is contained in:
rvcas 2021-02-09 10:30:22 -05:00
parent 04320f95fe
commit d42aacb506
3 changed files with 22 additions and 4 deletions

View file

@ -300,7 +300,11 @@ fn run_event_loop(file_path_opt: Option<&Path>) -> Result<(), Box<dyn Error>> {
let region = Region::new(0, 0, 0, 0);
let (expr2, _) = crate::lang::expr::str_to_expr2(
&arena, "2.0", &mut env, &mut scope, region,
&arena,
"\"hello\"",
&mut env,
&mut scope,
region,
)
.unwrap();