mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
add Expr2::Str case to render
This commit is contained in:
parent
04320f95fe
commit
d42aacb506
3 changed files with 22 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue